[vlc-commits] audiounit_ios: pause can't be called not started
Thomas Guillem
git at videolan.org
Fri Feb 24 11:41:12 CET 2017
vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Fri Feb 24 10:03:30 2017 +0100| [95bbdb05719e0ac72986f8a73763f8768ca2c369] | committer: Thomas Guillem
audiounit_ios: pause can't be called not started
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=95bbdb05719e0ac72986f8a73763f8768ca2c369
---
modules/audio_output/audiounit_ios.m | 4 ----
1 file changed, 4 deletions(-)
diff --git a/modules/audio_output/audiounit_ios.m b/modules/audio_output/audiounit_ios.m
index c1d4025..359700e 100644
--- a/modules/audio_output/audiounit_ios.m
+++ b/modules/audio_output/audiounit_ios.m
@@ -118,10 +118,6 @@ static void Pause (audio_output_t *p_aout, bool pause, mtime_t date)
p_sys->b_paused = pause;
vlc_mutex_unlock(&p_sys->lock);
- if (p_sys->au_unit == NULL) {
- return;
- }
-
/* we need to start / stop the audio unit here because otherwise
* the OS won't believe us that we stopped the audio output
* so in case of an interruption, our unit would be permanently
More information about the vlc-commits
mailing list