diff options
author | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2013-11-27 18:58:28 +0100 |
---|---|---|
committer | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2013-11-27 23:15:17 +0100 |
commit | f10cca0e8843a44f8341e8c09d535b46738343a0 (patch) | |
tree | 785587b47e0e0d040cce292fbca619be6944a565 /stream/stream_dvd_common.c | |
parent | 69220aa1cde79ce59ce10bf9c15ee20c9e212487 (diff) | |
download | mpv-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 'stream/stream_dvd_common.c')
0 files changed, 0 insertions, 0 deletions