summaryrefslogtreecommitdiffstats
path: root/demux
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-10-26 15:55:11 +0100
committerwm4 <wm4@nowhere>2015-10-26 15:55:11 +0100
commit0cc440f2919f7281d31f0ce16c7d757b4145a8a7 (patch)
tree6e1d2bbcc21b7fd2ec6b278c51f921c288296878 /demux
parent0524907c18e870568809f01cff363055030a4e21 (diff)
downloadmpv-0cc440f2919f7281d31f0ce16c7d757b4145a8a7.tar.bz2
mpv-0cc440f2919f7281d31f0ce16c7d757b4145a8a7.tar.xz
ao_coreaudio_exclusive: fallback to stereo on unknown channel layouts
This is intended for the case when CoreAudio returns only unknown channel layouts, or no channel layout matches the number of channels the CoreAudio device forces. Assume that outputting stereo or mono to the first channels is safe, and that it's better than outputting nothing. It's notable that XBMC/kodi falls back to a static channel layout in this case. For some messed up reason, the layout it uses happens to match with the channel order in ALSA's/mpv's "7.1(alsa)" layout.
Diffstat (limited to 'demux')
0 files changed, 0 insertions, 0 deletions