Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
5 Views

Problems with ippsLinToALaw_16s8u

Hello, I need your help. When I convert 16bits PCM wav file to 8bit A-law using
ippsLinToMuLaw_16s8u(tmpBuffer, (Ipp8u*) inputBuffer, lCvtLen);
Main problem is that quality after compressing is significantly lower comparing to PCM16 (When I compared these signals using Adobe Audition I saw that compressed signal is more noisy.)
Can you give me some advice to resolve it?
I added cpp file from my project.
Thank you, Ron.
0 Kudos
1 Reply
Highlighted
Employee
5 Views

Hello,

The ippsLinToMuLaw function assume that the input data is the raw PCM file, no wav file header. The test code is looks taking the wave hearder as well. Also, input data is 16 bits, the output is 8u. It may lost a bit loss not the data.

Thanks,
Chao

0 Kudos