Skip to content
Snippets Groups Projects
Commit 26893b16 authored by Thomas Guillem's avatar Thomas Guillem Committed by Felix Paul Kühne
Browse files

Revert "audiounit_ios: fix resume from pause"

This reverts commit 1ae26b6c.

This is not needed anymore since the clock is more stable.

This fixes:

 - The player timer reset to 0 after a pause (since
   adf1d933)
 - 1-2sec of silence when resuming from pause
parent 250e0193
No related branches found
No related tags found
Loading
Pipeline #258262 passed with stage
in 14 minutes and 53 seconds
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment