[vlc-commits] audiounit_ios: rename paused variable
Thomas Guillem
git at videolan.org
Wed Jul 25 11:12:57 CEST 2018
vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Tue Jul 24 18:25:46 2018 +0200| [d51941cfc71d5ac29cc1c66b156b3e7e3115477b] | committer: Thomas Guillem
audiounit_ios: rename paused variable
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d51941cfc71d5ac29cc1c66b156b3e7e3115477b
---
modules/audio_output/audiounit_ios.m | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/modules/audio_output/audiounit_ios.m b/modules/audio_output/audiounit_ios.m
index c9a8b7c7df..aca7c44de8 100644
--- a/modules/audio_output/audiounit_ios.m
+++ b/modules/audio_output/audiounit_ios.m
@@ -133,7 +133,7 @@ typedef struct
/* The AudioUnit we use */
AudioUnit au_unit;
bool b_muted;
- bool b_paused;
+ bool b_stopped;
bool b_preferred_channels_set;
enum au_dev au_dev;
@@ -374,7 +374,7 @@ Pause (audio_output_t *p_aout, bool pause, vlc_tick_t date)
* multi-tasking, the multi-tasking view would still show a playing state
* despite we are paused, same for lock screen */
- if (pause == p_sys->b_paused)
+ if (pause == p_sys->b_stopped)
return;
OSStatus err;
@@ -400,7 +400,7 @@ Pause (audio_output_t *p_aout, bool pause, vlc_tick_t date)
}
}
}
- p_sys->b_paused = pause;
+ p_sys->b_stopped = pause;
ca_Pause(p_aout, pause, date);
}
@@ -449,7 +449,7 @@ Stop(audio_output_t *p_aout)
[[NSNotificationCenter defaultCenter] removeObserver:p_sys->aoutWrapper];
- if (!p_sys->b_paused)
+ if (!p_sys->b_stopped)
{
err = AudioOutputUnitStop(p_sys->au_unit);
if (err != noErr)
More information about the vlc-commits
mailing list