Removed obsolete code

This commit is contained in:
Abramo Bagnara 2001-03-08 14:21:15 +00:00
parent c76af03f4e
commit 5e2c5cab92
8 changed files with 0 additions and 110 deletions

View file

@ -210,15 +210,6 @@ void snd_pcm_adpcm_decode(const snd_pcm_channel_area_t *dst_areas,
snd_pcm_uframes_t frames1;
const snd_pcm_channel_area_t *src_area = &src_areas[channel];
const snd_pcm_channel_area_t *dst_area = &dst_areas[channel];
#if 0
if (!src_area->enabled) {
if (dst_area->wanted)
snd_pcm_area_silence(dst_area, dst_offset, frames, dst_sfmt);
dst_area->enabled = 0;
continue;
}
dst_area->enabled = 1;
#endif
srcbit = src_area->first + src_area->step * src_offset;
src = src_area->addr + srcbit / 8;
srcbit %= 8;
@ -272,15 +263,6 @@ void snd_pcm_adpcm_encode(const snd_pcm_channel_area_t *dst_areas,
snd_pcm_uframes_t frames1;
const snd_pcm_channel_area_t *src_area = &src_areas[channel];
const snd_pcm_channel_area_t *dst_area = &dst_areas[channel];
#if 0
if (!src_area->enabled) {
if (dst_area->wanted)
snd_pcm_area_silence(dst_area, dst_offset, frames, dst_sfmt);
dst_area->enabled = 0;
continue;
}
dst_area->enabled = 1;
#endif
src = snd_pcm_channel_area_addr(src_area, src_offset);
src_step = snd_pcm_channel_area_step(src_area);
dstbit = dst_area->first + dst_area->step * dst_offset;