diff options
author | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2014-12-27 11:56:26 +0100 |
---|---|---|
committer | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2014-12-27 12:04:58 +0100 |
commit | 069016fd6cee08f91dc0c49cd47b2b5766319ec5 (patch) | |
tree | a14ca019016554b893f8bff8d525a3e6c42e5110 /TOOLS/lua | |
parent | 9aa7df344635df65f0b2e8032e64b1505d0c14f4 (diff) | |
download | mpv-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 'TOOLS/lua')
0 files changed, 0 insertions, 0 deletions