From 4c09451e77ea5a9e537a2ebbf27304d0ad3fcc20 Mon Sep 17 00:00:00 2001 From: Arun Raghavan Date: Fri, 29 Nov 2024 10:54:18 -0500 Subject: [PATCH] spa: alsa: Fix key name suggestion in log message We use api.alsa.pcm.card to look up the PCM's card if we don't know it by other means. --- 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 aeb364a8f..b1a7c2870 100644 --- a/spa/plugins/alsa/alsa-pcm.c +++ b/spa/plugins/alsa/alsa-pcm.c @@ -998,7 +998,7 @@ int spa_alsa_init(struct state *state, const struct spa_dict *info) sscanf(state->props.device, "%*[^:]:%u", &state->card_index); if (state->card_index == SPA_ID_INVALID) { spa_log_error(state->log, "Could not determine card index, maybe set %s", - SPA_KEY_API_ALSA_CARD); + SPA_KEY_API_ALSA_PCM_CARD); return -EINVAL; } }