summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorStefano Pigozzi <stefano.pigozzi@gmail.com>2013-11-27 18:58:28 +0100
committerStefano Pigozzi <stefano.pigozzi@gmail.com>2013-11-27 23:15:17 +0100
commitf10cca0e8843a44f8341e8c09d535b46738343a0 (patch)
tree785587b47e0e0d040cce292fbca619be6944a565 /wscript
parent69220aa1cde79ce59ce10bf9c15ee20c9e212487 (diff)
downloadmpv-f10cca0e8843a44f8341e8c09d535b46738343a0.tar.bz2
mpv-f10cca0e8843a44f8341e8c09d535b46738343a0.tar.xz
ao_coreaudio: simplify ch label to speaker id conversion
Previous code was using the values of the AudioChannelLabel enum directly to create the channel bitmap. While this was quite smart it was pretty unreadable and fragile (what if Apple changes the values of those enums?). Change it to use a 'dumb' conversion table.
Diffstat (limited to 'wscript')
0 files changed, 0 insertions, 0 deletions