[vlc-commits] audiounit_ios: rename paused variable
Thomas Guillem
git at videolan.org
Wed Jul 25 11:14:14 CEST 2018
vlc/vlc-3.0 | branch: master | Thomas Guillem <thomas at gllm.fr> | Tue Jul 24 18:25:46 2018 +0200| [b24f17c0f60961bbbba0d2ea91697beb68e1b46d] | committer: Thomas Guillem
audiounit_ios: rename paused variable
(cherry picked from commit d51941cfc71d5ac29cc1c66b156b3e7e3115477b)
Signed-off-by: Thomas Guillem <thomas at gllm.fr>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=b24f17c0f60961bbbba0d2ea91697beb68e1b46d
---
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 d17f5eaad8..d11be011af 100644
--- a/modules/audio_output/audiounit_ios.m
+++ b/modules/audio_output/audiounit_ios.m
@@ -134,7 +134,7 @@ struct aout_sys_t
/* 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;
@@ -375,7 +375,7 @@ Pause (audio_output_t *p_aout, bool pause, mtime_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;
@@ -401,7 +401,7 @@ Pause (audio_output_t *p_aout, bool pause, mtime_t date)
}
}
}
- p_sys->b_paused = pause;
+ p_sys->b_stopped = pause;
ca_Pause(p_aout, pause, date);
}
@@ -450,7 +450,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