audiotrack: add 5.1 and 7.1 support
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: Jean-Baptiste Kempf <7b85a41a628204b76aba4326273a3ccc74bd009a@videolan.org>

xkfz007/vlc,shyamalschandra/vlc,xkfz007/vlc,xkfz007/vlc,vlc-mirror/vlc,krichter722/vlc,xkfz007/vlc,shyamalschandra/vlc,vlc-mirror/vlc,shyamalschandra/vlc,krichter722/vlc,shyamalschandra/vlc,vlc-mirror/vlc,krichter722/vlc,vlc-mirror/vlc,krichter722/vlc,xkfz007/vlc,shyamalschandra/vlc,shyamalschandra/vlc,xkfz007/vlc,krichter722/vlc,krichter722/vlc,vlc-mirror/vlc,vlc-mirror/vlc,xkfz007/vlc,krichter722/vlc,shyamalschandra/vlc,vlc-mirror/vlc