Hi All,
I am new to MAD Mpeg Decoder. I just want to know from which part of source code i can come to know that output will be 24 bit PCM. Regards,
On Monday, June 23, 2003, at 02:07 PM, alok wrote:
I am new to MAD Mpeg Decoder. I just want to know from which part of source code i can come to know that output will be 24 bit PCM.
The output from libmad is a 32-bit fixed-point PCM sample format with 28 fractional bits, 3 integer bits (headroom for values above full scale), and a sign bit. See synth.h for the output PCM structure definition, and fixed.h for details of the fixed-point representation.
This PCM sample format can be scale to any desired output bit depth, including 16 or 24 bits. The extra resolution can further be used to enhance the output audio through the use of dither and noise shaping.