[vlc-commits] coreaudio: add 8.x channels support for iOS

Thomas Guillem git at videolan.org
Thu Mar 2 18:16:52 CET 2017


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Thu Mar  2 09:42:39 2017 +0100| [65443a7801e77e261e7671f5b69a2459a6f30be9] | committer: Thomas Guillem

coreaudio: add 8.x channels support for iOS

It's available since iOS4.0+

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

 modules/audio_output/coreaudio_common.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/audio_output/coreaudio_common.c b/modules/audio_output/coreaudio_common.c
index 53f818c..48afacd 100644
--- a/modules/audio_output/coreaudio_common.c
+++ b/modules/audio_output/coreaudio_common.c
@@ -402,7 +402,7 @@ MapOutputLayout(audio_output_t *p_aout, audio_sample_format_t *fmt,
          && fmt->i_physical_channels != AOUT_CHANS_7_1)
         {
 #if TARGET_OS_IPHONE
-            const bool b_8x_support = false;
+            const bool b_8x_support = true;
 #else
             SInt32 osx_min_version;
             if (Gestalt(gestaltSystemVersionMinor, &osx_min_version) != noErr)



More information about the vlc-commits mailing list