auhal: fix 7.1 channel layout for macOS - fix #17556
commit974b4af5bba0ffe957679256b938c47f21308680
authorAndrii Zui <andrew.zui@outlook.com>
Mon, 12 Dec 2016 17:41:20 +0000 (12 17:41 +0000)
committerJean-Baptiste Kempf <jb@videolan.org>
Mon, 12 Dec 2016 23:00:33 +0000 (13 00:00 +0100)
tree307c2fb0543840138996875b53176017e9cac36f
parent51ca21f136968e62d953b31ed3e9543a28d4576d
auhal: fix 7.1 channel layout for macOS - fix #17556

Currently AUHAL drops rear surround channels if device layout is set to
`L R C LFE Rls Rrs Ls Rs` because it expects Left Center and Right Center
channels instead (as in MPEG_7_1_A). Setting input_layout to MPEG_7_1_C fixes
this issue.

Note that setting device layout to e.g. `L R C LFE Ls Rs Lc Rc` doesn't help,
because VLC doesn't recognize Lc/Rc channels - they're not present in
i_auhal_channel_mapping.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
modules/audio_output/auhal.c