Skip to content
Snippets Groups Projects

Revert "audiounit_ios: fix resume from pause"

Merged Thomas Guillem requested to merge tguillem/vlc:audiounit-ios-fix-pause into master
1 file
+ 0
8
Compare changes
  • Side-by-side
  • Inline
@@ -506,14 +506,6 @@ Pause (audio_output_t *p_aout, bool pause, vlc_tick_t date)
}
p_sys->b_stopped = pause;
ca_Pause(p_aout, pause, date);
/* Since we stopped the AudioUnit, we can't really recover the delay from
* the last playback. So it's better to flush everything now to avoid
* synchronization glitches when resuming from pause. The main drawback is
* that we loose 1-2 sec of audio when resuming. The order is important
* here, ca_Flush need to be called when paused. */
if (pause)
ca_Flush(p_aout);
}
static int
Loading