summaryrefslogtreecommitdiffstats
path: root/travis-deps
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-11-25 18:09:36 +0100
committerwm4 <wm4@nowhere>2014-11-25 18:09:36 +0100
commit5d5f5b094b7e238fc2b0c996bc4baeed23b085dc (patch)
tree73569dc452be3e08a8ce30d4fa83337115751da2 /travis-deps
parent5fb54fa756b331818284be2f4e12160ebd30bc55 (diff)
downloadmpv-5d5f5b094b7e238fc2b0c996bc4baeed23b085dc.tar.bz2
mpv-5d5f5b094b7e238fc2b0c996bc4baeed23b085dc.tar.xz
ao_alsa: select and set channel maps via channel map API
Use the ALSA channel map API for querying and selecting supported channel maps. Since we (probably?) want to be compatible with ALSA versions before the change, we still try to select the device name by channel map, and open that device. There's no way to negotiate a channel map before opening, so we're stuck with this approach. Fortunately, it seems these devices allow selecting and setting any other supported channel layout, so maybe this is not an issue at all. In particular, this avoids selecting the default (dmix) device, which can only do stereo. Most code is based on Martin Herkt <lachs0r@srsfckn.biz>'s alsa_ng branch, with heavy modifications.
Diffstat (limited to 'travis-deps')
0 files changed, 0 insertions, 0 deletions