[Speex-dev] Small bug fixed

Dmitry Yakimov support at zipcure.com
Thu Jul 5 01:44:43 PDT 2007


Hi,

It is better to replace this line in function filterbank_new:
max_mel = toBARK(EXTRACT16(MULT16_16_Q15(QCONST16(.5f,15),sampling)));

to

max_mel = toBARK(EXTRACT16(sampling/2));

It gives the same but it seems to be faster and avoids overflow on 44100 kHz that prevents denoiser to process 44100 streams. (Yes I know that Speex should not pack 44100 streams but it does now and I use it).

Best Regards,
Dmitry Yakimov




More information about the Speex-dev mailing list