Hello all. After some studying of MPD sources I've found that currently there is no option for MPD to convert audio format before any DSP-s are applied to audio data. My idea is that we can convert decoded data before processing. I'm not good at audio math and MPD internals. Please correct me if I'm wrong.
Current situation: Let's say we have regular audio file (44100:16:2) We apply replain gain to it, this leads to losing some of precious audio data bits. Imaginary situation if we had such convert_before_dsp option: We convert data to more precise format (like 44100:24:2). This is as simple as right shifting every sample to 8 bits. We apply replain gain to it. Some of the least significant bits are lost (we multiply on a coefficient that is between 0 and 1), but we have 8 bits to spend. We lose either none of original audio data or at least less than we could lose without such coversion. I could implement such option, but I need to know is there any hidden issues. ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Musicpd-dev-team mailing list Musicpd-dev-team@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team