From b4cf78b5a6467120a2d6ad5a8917559d9c75401f Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Thu, 11 Mar 2021 18:34:55 +0100 Subject: [PATCH] alsa-pcm: improve debug --- spa/plugins/alsa/alsa-pcm.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spa/plugins/alsa/alsa-pcm.c b/spa/plugins/alsa/alsa-pcm.c index 88a48a821..a3cbb6de7 100644 --- a/spa/plugins/alsa/alsa-pcm.c +++ b/spa/plugins/alsa/alsa-pcm.c @@ -940,9 +940,9 @@ int spa_alsa_write(struct state *state) return res; if (SPA_UNLIKELY(!state->alsa_recovering && delay > target + state->threshold)) { - spa_log_warn(state->log, NAME" %s: follower delay:%ld resync %f %f %f", - state->props.device, delay, state->dll.z1, - state->dll.z2, state->dll.z3); + spa_log_warn(state->log, NAME" %s: follower delay:%ld target:%ld resync %f %f %f", + state->props.device, delay, target + state->threshold, + state->dll.z1, state->dll.z2, state->dll.z3); spa_dll_init(&state->dll); state->alsa_sync = true; }