On May 16, 2005, at 02:17 , Nicolas Plourde wrote:
The attached patch simplifies the format matching logic, yelding at worst the same results as before, and fixing the "unwanted mono" malfunction in many cases. It still works fine under Mac OS X 10.3.9. commited
Sometimes, CoreAudio will accept the change but return the old values in the last AudioDeviceGetProperty(). Leaving the format unchanged and relying on the conversion routines in MPlayer is, apparently, not an option, as most of the time, buffer underrun errors will be generates, sometimes serious enough to interfere with the playback. The right thing to do, would be to use the AUHAL converters and leave the AudioDevice settings alone. This works fine for iTunes: with the Audio MIDI Setup, you can change the resolution and sample rate on the fly and hear the difference in quality...