[vlc-commits] audiounit_ios: disable passthrough for now
Thomas Guillem
git at videolan.org
Tue Apr 17 09:54:28 CEST 2018
vlc/vlc-3.0 | branch: master | Thomas Guillem <thomas at gllm.fr> | Tue Apr 17 09:51:45 2018 +0200| [b2379c260f13a93962c16ce56cb553f5c7447507] | committer: Thomas Guillem
audiounit_ios: disable passthrough for now
Apple confirmed that there is (no more) passthrough support on iOS/tvOS.
(cherry picked from commit 5eaf9f8fd80d97acf4cd6e4c83195885cc0cdac7)
Signed-off-by: Thomas Guillem <thomas at gllm.fr>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=b2379c260f13a93962c16ce56cb553f5c7447507
---
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 82b15dec55..0649d30417 100644
--- a/modules/audio_output/audiounit_ios.m
+++ b/modules/audio_output/audiounit_ios.m
@@ -427,6 +427,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