mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
alsa: make resync less aggressive
This commit is contained in:
parent
c135f9c7ee
commit
e15104c5cb
1 changed files with 1 additions and 1 deletions
|
|
@ -1193,7 +1193,7 @@ int spa_alsa_read(struct state *state, snd_pcm_uframes_t silence)
|
|||
if ((res = get_status(state, &delay, &target)) < 0)
|
||||
return res;
|
||||
|
||||
if (!state->alsa_recovering && (delay < target || delay > target * 2)) {
|
||||
if (!state->alsa_recovering && (delay < target / 2 || delay > target * 2)) {
|
||||
spa_log_warn(state->log, NAME" %s: follower delay:%lu target:%lu resync %f %f %f",
|
||||
state->props.device, delay, target, state->dll.z1,
|
||||
state->dll.z2, state->dll.z3);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue