mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05:00
alsa: throw timing data away after device resume
This commit is contained in:
parent
f6763917ee
commit
5efb07281d
5 changed files with 30 additions and 25 deletions
|
|
@ -854,7 +854,9 @@ static int unsuspend(struct userdata *u) {
|
|||
/* FIXME: We need to reload the volume somehow */
|
||||
|
||||
snd_pcm_start(u->pcm_handle);
|
||||
pa_smoother_resume(u->smoother, pa_rtclock_now(), TRUE);
|
||||
|
||||
u->read_count = 0;
|
||||
pa_smoother_reset(u->smoother, pa_rtclock_now(), TRUE);
|
||||
|
||||
pa_log_info("Resumed successfully...");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue