diff options
author | Max Kellermann <max@duempel.org> | 2011-01-07 17:15:37 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2011-01-07 17:31:36 +0100 |
commit | b5645ab29f4be93ef43d9995f03b48b942cdaa14 (patch) | |
tree | 553a0d0840e9293f2e613a2d6a13068775598aa5 /src/decoder/mpcdec_decoder_plugin.c | |
parent | 3149d1abf98a54e78a805f6c4b025b4d99bfd6f0 (diff) | |
download | mpd-b5645ab29f4be93ef43d9995f03b48b942cdaa14.tar.gz mpd-b5645ab29f4be93ef43d9995f03b48b942cdaa14.tar.xz mpd-b5645ab29f4be93ef43d9995f03b48b942cdaa14.zip |
output/osx: fix up audio format first, then apply it to device
This is a MPD 0.16 regression: when playing a 24 bit file, the switch
to 16 bit was made only partially, after mBytesPerPacket and
mBytesPerFrame had already been applied.
That means mBytesPerFrame referred to 24 bit, and mBitsPerChannel
referred to 16 bits. Of course, that cannot work.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions