diff options
author | wm4 <wm4@nowhere> | 2015-10-26 15:55:11 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-10-26 15:55:11 +0100 |
commit | 0cc440f2919f7281d31f0ce16c7d757b4145a8a7 (patch) | |
tree | 6e1d2bbcc21b7fd2ec6b278c51f921c288296878 /audio/mixer.c | |
parent | 0524907c18e870568809f01cff363055030a4e21 (diff) |
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 'audio/mixer.c')
0 files changed, 0 insertions, 0 deletions