On 2009/07/28 17:43, Tim Phipps <m...@phipps-hutton.freeserve.co.uk> wrote:
> In the current GIT code src/decoder/mad_plugin.c hard codes the output bit
> depth to 24 which doesn't match what src/decoder/_flac_common.s does with
> 16bit FLAC files. crossfade won't work with different bit depths.
> Is there any reason for 24bit MP3 decoding? It's going to go down to 16 for
> output anyway.

libmad provides 28 bit samples, so instead of throwing away 12 bits,
we just discard 4.  This is an attempt to optimize output quality for
those users with a 24 bit card.

To work around that general issue, you can hard-code a global audio
format.  This is applied before cross-fading.

Max

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Musicpd-dev-team mailing list
Musicpd-dev-team@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team

Reply via email to