On 2010/09/28 11:55, Denis Krjuchkov <alcoh...@gmail.com> wrote: > 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
Yes, that's approximately what I had in mind. However I'd say use the minimum sample rate, not maxium: a lower sample rate will reduce the CPU power needed for additional filters, but will not result in more rounding errors. Max ------------------------------------------------------------------------------ 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