mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-04 13:30:08 -05:00
topology: dapm - fix the SNDERR() - Undefined
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
f42b2c088a
commit
712fbacf16
1 changed files with 2 additions and 2 deletions
|
|
@ -230,7 +230,7 @@ int tplg_build_routes(snd_tplg_t *tplg)
|
||||||
SND_TPLG_TYPE_MIXER, elem->index) &&
|
SND_TPLG_TYPE_MIXER, elem->index) &&
|
||||||
!tplg_elem_lookup(&tplg->enum_list, route->control,
|
!tplg_elem_lookup(&tplg->enum_list, route->control,
|
||||||
SND_TPLG_TYPE_ENUM, elem->index)) {
|
SND_TPLG_TYPE_ENUM, elem->index)) {
|
||||||
SNDERR("Undefined mixer/enum control '%s'",
|
SNDERR("undefined mixer/enum control '%s'",
|
||||||
route->control);
|
route->control);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -243,7 +243,7 @@ int tplg_build_routes(snd_tplg_t *tplg)
|
||||||
}
|
}
|
||||||
if (!tplg_elem_lookup(&tplg->widget_list, route->source,
|
if (!tplg_elem_lookup(&tplg->widget_list, route->source,
|
||||||
SND_TPLG_TYPE_DAPM_WIDGET, SND_TPLG_INDEX_ALL)) {
|
SND_TPLG_TYPE_DAPM_WIDGET, SND_TPLG_INDEX_ALL)) {
|
||||||
SNDERR("Undefined source widget/stream '%s'",
|
SNDERR("undefined source widget/stream '%s'",
|
||||||
route->source);
|
route->source);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue