[vlc-commits] [Git][videolan/vlc][master] audiounit_ios: remove dead code
Hugo Beauzée-Luyssen (@chouquette)
gitlab at videolan.org
Sat Mar 12 11:54:29 UTC 2022
Hugo Beauzée-Luyssen pushed to branch master at VideoLAN / VLC
Commits:
09bf50d4 by Steve Lhomme at 2022-03-12T11:41:16+00:00
audiounit_ios: remove dead code
At line 580 above we return an error if the format is S/PDIF.
- - - - -
1 changed file:
- modules/audio_output/audiounit_ios.m
Changes:
=====================================
modules/audio_output/audiounit_ios.m
=====================================
@@ -623,13 +623,6 @@ Start(audio_output_t *p_aout, audio_sample_format_t *restrict fmt)
if (ret != VLC_SUCCESS)
goto error;
- if (AOUT_FMT_SPDIF(fmt))
- {
- if (p_sys->au_dev != AU_DEV_ENCODED
- || (port_type != PORT_TYPE_USB && port_type != PORT_TYPE_HDMI))
- goto error;
- }
-
p_aout->current_sink_info.headphones = port_type == PORT_TYPE_HEADPHONES;
p_sys->au_unit = au_NewOutputInstance(p_aout, kAudioUnitSubType_RemoteIO);
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/09bf50d4b1c3da71ffe9206575f25a8f474338d6
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/09bf50d4b1c3da71ffe9206575f25a8f474338d6
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
More information about the vlc-commits
mailing list