Commit 0172a964 authored by Thomas Guillem's avatar Thomas Guillem Committed by Jean-Baptiste Kempf

audiotrack: add 5.1 and 7.1 support

Works with SPDIF and HDMI audio output. Android will downmix to stereo if the
audio output is stereo.

7.1 support was added since Android 5.0.

5.1 support was added since the beginning but doesn't work on old devices.
That's why we fallback to stereo if AudioTrack fails to init with more than 2
channels.
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 994e4896
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment