From 56c03c11f850f6379a88114538118163d9a3afc7 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Wed, 16 Feb 2022 21:30:35 +0100 Subject: [PATCH] alsa: resync when quantum changes --- spa/plugins/alsa/alsa-pcm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/spa/plugins/alsa/alsa-pcm.c b/spa/plugins/alsa/alsa-pcm.c index aca1af1ed..9449225b5 100644 --- a/spa/plugins/alsa/alsa-pcm.c +++ b/spa/plugins/alsa/alsa-pcm.c @@ -1774,6 +1774,7 @@ static int update_time(struct state *state, uint64_t current_time, snd_pcm_sfram spa_log_trace(state->log, "%p: follower:%d quantum change %d -> %d (%d) %f", state, follower, state->last_threshold, state->threshold, diff, err); state->last_threshold = state->threshold; + state->alsa_sync = true; } if (err > state->max_error) { err = state->max_error;