[vlc-commits] audiounit_ios: disable passthrough for now

Thomas Guillem git at videolan.org
Tue Apr 17 09:53:58 CEST 2018


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Tue Apr 17 09:51:45 2018 +0200| [5eaf9f8fd80d97acf4cd6e4c83195885cc0cdac7] | committer: Thomas Guillem

audiounit_ios: disable passthrough for now

Apple confirmed that there is (no more) passthrough support on iOS/tvOS.

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

 modules/audio_output/audiounit_ios.m | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/modules/audio_output/audiounit_ios.m b/modules/audio_output/audiounit_ios.m
index cb52e920e6..5ba22e5146 100644
--- a/modules/audio_output/audiounit_ios.m
+++ b/modules/audio_output/audiounit_ios.m
@@ -426,6 +426,10 @@ Start(audio_output_t *p_aout, audio_sample_format_t *restrict fmt)
     if (aout_FormatNbChannels(fmt) == 0 || AOUT_FMT_HDMI(fmt))
         return VLC_EGENERIC;
 
+    /* XXX: No more passthrough since iOS 11 */
+    if (AOUT_FMT_SPDIF(fmt))
+        return VLC_EGENERIC;
+
     aout_FormatPrint(p_aout, "VLC is looking for:", fmt);
 
     p_sys->au_unit = NULL;



More information about the vlc-commits mailing list