summaryrefslogtreecommitdiffstats
path: root/player
diff options
context:
space:
mode:
authorStefano Pigozzi <stefano.pigozzi@gmail.com>2014-12-27 11:56:26 +0100
committerStefano Pigozzi <stefano.pigozzi@gmail.com>2014-12-27 12:04:58 +0100
commit069016fd6cee08f91dc0c49cd47b2b5766319ec5 (patch)
treea14ca019016554b893f8bff8d525a3e6c42e5110 /player
parent9aa7df344635df65f0b2e8032e64b1505d0c14f4 (diff)
downloadmpv-069016fd6cee08f91dc0c49cd47b2b5766319ec5.tar.bz2
mpv-069016fd6cee08f91dc0c49cd47b2b5766319ec5.tar.xz
ao_coreaudio: fix channel mapping
There where 3 major errors in the previous code: 1) The kAudioDevicePropertyPreferredChannelLayout selector returns a single layout not an array. 2) The check for AudioChannelLayout allocation size was wrong (didn't account for variable sized struct). 3) Didn't query the kAudioDevicePropertyPreferredChannelsForStereo selector since I didn't know about it's existence. All of these are fixed. Might help with #1367
Diffstat (limited to 'player')
0 files changed, 0 insertions, 0 deletions