vlc | branch: master | Thomas Guillem <[email protected]> | Mon Mar  9 17:48:22 
2015 +0100| [0172a96435d206a5a13829e5d629ed524e90bd90] | committer: 
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: Jean-Baptiste Kempf <[email protected]>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0172a96435d206a5a13829e5d629ed524e90bd90
---

 modules/audio_output/audiotrack.c |  282 ++++++++++++++++++++++++++++++-------
 1 file changed, 231 insertions(+), 51 deletions(-)

Diff:   
http://git.videolan.org/gitweb.cgi/vlc.git/?a=commitdiff;h=0172a96435d206a5a13829e5d629ed524e90bd90
_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to