[vlc-commits] [Git][videolan/vlc][master] audiounit_ios: set the mute_set callback from start

Jean-Baptiste Kempf gitlab at videolan.org
Fri Jun 25 20:48:52 UTC 2021



Jean-Baptiste Kempf pushed to branch master at VideoLAN / VLC


Commits:
50eaa2ad by Thomas Guillem at 2021-06-25T20:35:07+00:00
audiounit_ios: set the mute_set callback from start

Fixes inconsistency with the "mute" variable state.

- - - - -


1 changed file:

- modules/audio_output/audiounit_ios.m


Changes:

=====================================
modules/audio_output/audiounit_ios.m
=====================================
@@ -548,7 +548,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;
 
     aout_SoftVolumeStart( p_aout );
@@ -637,6 +636,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/50eaa2ad68157d74264fa614554d516e9522959b

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/50eaa2ad68157d74264fa614554d516e9522959b
You're receiving this email because of your account on code.videolan.org.




More information about the vlc-commits mailing list