Commit 1fce3cc9 authored by Jean-Paul Saman's avatar Jean-Paul Saman

Oops, lucky to catch this one (deleted function name s24_to_s16_pcm accidently)

parent 18597150
...@@ -266,7 +266,7 @@ static __inline__ signed int audio_linear_dither(unsigned int bits, mad_fixed_t ...@@ -266,7 +266,7 @@ static __inline__ signed int audio_linear_dither(unsigned int bits, mad_fixed_t
/***************************************************************************** /*****************************************************************************
* s24_to_s16_pcm: Scale a 24 bit pcm sample to a 16 bit pcm sample. * s24_to_s16_pcm: Scale a 24 bit pcm sample to a 16 bit pcm sample.
*****************************************************************************/ *****************************************************************************/
static __inline__ mad_fixed_t (mad_fixed_t sample) static __inline__ mad_fixed_t s24_to_s16_pcm(mad_fixed_t sample)
{ {
/* round */ /* round */
sample += (1L << (MAD_F_FRACBITS - 16)); sample += (1L << (MAD_F_FRACBITS - 16));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment