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:
parent
8403b5d665
commit
13b0b86b8c
|
@ -324,7 +324,7 @@ dsp_audio_generate_s2law_table(void)
|
||||||
}
|
}
|
||||||
j = 255;
|
j = 255;
|
||||||
while(i < 65536) {
|
while(i < 65536) {
|
||||||
if (i-0x32768 > dsp_audio_law_to_s32[j])
|
if (i-32768 > dsp_audio_law_to_s32[j])
|
||||||
j--;
|
j--;
|
||||||
dsp_audio_s16_to_law[(i-32768) & 0xffff] = j;
|
dsp_audio_s16_to_law[(i-32768) & 0xffff] = j;
|
||||||
i++;
|
i++;
|
||||||
|
|
Loading…
Reference in New Issue