[vlc-commits] [Git][videolan/vlc][master] Revert "audiounit_ios: fix resume from pause"
Felix Paul Kühne (@fkuehne)
gitlab at videolan.org
Fri Sep 2 14:48:47 UTC 2022
Felix Paul Kühne pushed to branch master at VideoLAN / VLC
Commits:
26893b16 by Thomas Guillem at 2022-09-02T14:09:56+00:00
Revert "audiounit_ios: fix resume from pause"
This reverts commit 1ae26b6c257e4e8ffa800a41b3289076240bf8f8.
This is not needed anymore since the clock is more stable.
This fixes:
- The player timer reset to 0 after a pause (since
adf1d933f72de1925f3733e1ee6abd2eeee12e9b)
- 1-2sec of silence when resuming from pause
- - - - -
1 changed file:
- modules/audio_output/audiounit_ios.m
Changes:
=====================================
modules/audio_output/audiounit_ios.m
=====================================
@@ -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
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/26893b16b5792eddb404662d7f1e19f795df63e6
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/26893b16b5792eddb404662d7f1e19f795df63e6
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
More information about the vlc-commits
mailing list