From eac74f6ece57c2b0ae68622c80659ce741a5b8e3 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Fri, 15 Sep 2023 15:32:34 +0200 Subject: [PATCH] alsa: fix warning when compiling without FASTPATH --- spa/plugins/alsa/alsa-pcm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spa/plugins/alsa/alsa-pcm.c b/spa/plugins/alsa/alsa-pcm.c index 04ce3f92b..8ea096ab4 100644 --- a/spa/plugins/alsa/alsa-pcm.c +++ b/spa/plugins/alsa/alsa-pcm.c @@ -2702,7 +2702,7 @@ static int capture_ready(struct state *state) } else { io->buffer_id = SPA_ID_INVALID; } - spa_log_trace_fp(state->log, "%p: output buffer:%d", state, b->id); + spa_log_trace_fp(state->log, "%p: output buffer:%d", state, io->buffer_id); } if (have_data) spa_node_call_ready(&state->callbacks, SPA_STATUS_HAVE_DATA);