[vlc-commits] [Git][videolan/vlc][3.0.x] audiounit_ios: set the mute_set callback from start
Jean-Baptiste Kempf (@jbk)
gitlab at videolan.org
Tue Jun 29 08:06:00 UTC 2021
Jean-Baptiste Kempf pushed to branch 3.0.x at VideoLAN / VLC
Commits:
5fe1fc9f by Thomas Guillem at 2021-06-28T09:55:57+02:00
audiounit_ios: set the mute_set callback from start
Fixes inconsistency with the "mute" variable state.
(cherry picked from commit 50eaa2ad68157d74264fa614554d516e9522959b)
Signed-off-by: Thomas Guillem <thomas at gllm.fr>
- - - - -
1 changed file:
- modules/audio_output/audiounit_ios.m
Changes:
=====================================
modules/audio_output/audiounit_ios.m
=====================================
@@ -577,7 +577,6 @@ Start(audio_output_t *p_aout, audio_sample_format_t *restrict fmt)
free(layout);
fmt->channel_type = AUDIO_CHANNEL_TYPE_BITMAP;
- p_aout->mute_set = MuteSet;
p_aout->pause = Pause;
p_aout->flush = Flush;
@@ -669,6 +668,7 @@ Open(vlc_object_t *obj)
sys->au_dev = var_InheritBool(aout, "spdif") ? AU_DEV_ENCODED : AU_DEV_PCM;
aout->start = Start;
aout->stop = Stop;
+ aout->mute_set = MuteSet;
aout->device_select = DeviceSelect;
aout_SoftVolumeInit( aout );
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/5fe1fc9f7380ece6910cb26221f9b3e5f5299802
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/5fe1fc9f7380ece6910cb26221f9b3e5f5299802
You're receiving this email because of your account on code.videolan.org.
More information about the vlc-commits
mailing list