mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
alsa: after XRun, fill with previous threshold
It is possible that the quantum has changed before the xrun and then we will assume the previous quantum was in the device.
This commit is contained in:
parent
aa0e0043d3
commit
63a34f4f84
1 changed files with 1 additions and 1 deletions
|
|
@ -803,7 +803,7 @@ recover:
|
|||
state->alsa_started = false;
|
||||
|
||||
if (state->stream == SND_PCM_STREAM_PLAYBACK)
|
||||
spa_alsa_silence(state, state->threshold + state->headroom);
|
||||
spa_alsa_silence(state, state->last_threshold + state->headroom);
|
||||
|
||||
return do_start(state);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue