diff options
author | wm4 <wm4@nowhere> | 2015-06-11 20:39:38 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-06-11 21:42:09 +0200 |
commit | 478ea1d0f3a4c220f9b07f24412be7f5867e7719 (patch) | |
tree | e3228a85537b90ece66d05e7bb6ed90b1d2a9f08 /player/lua.c | |
parent | d0fe5e08b984db840545c1b341a1e56fad304593 (diff) | |
download | mpv-478ea1d0f3a4c220f9b07f24412be7f5867e7719.tar.bz2 mpv-478ea1d0f3a4c220f9b07f24412be7f5867e7719.tar.xz |
ao_alsa: change ALSA braindeath heuristic
If you try to play surround with dmix, it will advertise surround and
lets you set more than 2 channels, but will report a stereo channel map,
with the extra channels identified as NA. We could handle this now, but
we don't want to (because it's excessively stupid).
Do it only if the channel map is not what we requested, instead of just
acting if it contains NA entries at all. This avoids that we hurt
ourselves in the unlikely but possible case we actually have to use
channel maps with NA entries.
Diffstat (limited to 'player/lua.c')
0 files changed, 0 insertions, 0 deletions