"Anthony Airon Oetzmann" airon@gmx.net wrote:
I wonder though if it wouldn't be better to implement this in a special DSP plug-in rather than further complicate the input plug-in...
When would Winamp ever support 24 bit output of an input plugin? Trouble is, you'll degrade the output if the plugin is used on 16 bit output up front. Use it on 24 bit output however, and then dither that and you'll keep your high resolution that was the point of MAD in the first place.
If I write the DSP plug-in myself, I can support 24-bit samples with 3-bit headroom without any problem.
Actually many DSP plug-ins can probably handle 24- or 32-bit samples, so this probably isn't a big issue.
What's needed is a way to send high-resolution samples to the DSP plug-ins and then dither to 16 bits (or whatever resolution) afterwards. That's what I plan the "High-resolution DSP support" configuration option to be for.
Cheers, -rob