mirror of https://github.com/mpv-player/mpv
dac5b598f5
Given 5.1(side), this lets it pick 5.1 from [5.1, 7.1]. Which was probably the original intention of this replacement stuff. Until now, the opposite was done in some cases. Keep the old heuristic if the replacement is not perfect. This would mean that a subset of the channel layout is an inexact equivalent, but not all of it. (My conclusion is that audio output APIs should be designed to simply take any channel layout, like the PulseAudio API does.) |
||
---|---|---|
.. | ||
chmap.c | ||
chmap_sel.c | ||
gl_video.c | ||
test_helpers.h |