mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
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.
This commit is contained in:
parent
371781e214
commit
4c09451e77
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue