• Max Kellermann's avatar
    output/osx: fix up audio format first, then apply it to device · b5645ab2
    Max Kellermann authored
    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.
    b5645ab2
osx_plugin.c 7.61 KB