corrected wrong generation of alaw tables. thanx Alex.

Modified Files:
  Tag: mqueue
	mISDN/drivers/isdn/hardware/mISDN/dsp_audio.c
This commit is contained in:
Andreas Eversberg 2006-04-12 11:50:51 +00:00
parent 8403b5d665
commit 13b0b86b8c
1 changed files with 1 additions and 1 deletions

View File

@ -324,7 +324,7 @@ dsp_audio_generate_s2law_table(void)
}
j = 255;
while(i < 65536) {
if (i-0x32768 > dsp_audio_law_to_s32[j])
if (i-32768 > dsp_audio_law_to_s32[j])
j--;
dsp_audio_s16_to_law[(i-32768) & 0xffff] = j;
i++;