On Tue, Sep 28, 2010 at 3:27 PM, Max Kellermann <m...@duempel.org> wrote:
> Giving the user more control is a good thing (for those who want it),
> but MPD should do the right thing by default.  It is theoretically
> possible to make MPD do the right conversion choices at the right
> time.

Could the auto adjustment of format be done this way?

best_format_sample_rate = max(decoder_sample_rate, output_sample_rate)
best_format_sample_size = max(decoder_sample_size, output_sample_size)

if best format is more precise than decoded data
convert to best format before filter chain

if best format is more precise than output format
convert to output format after filter chain

------------------------------------------------------------------------------
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

Reply via email to