mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-06 13:29:59 -05:00
ucm: move macros and evali substitution to Syntax 6
There should be printed an error when the new configuration blocks are used with the older alsa-lib. Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
55340cf96a
commit
b45fbeee34
2 changed files with 6 additions and 6 deletions
|
|
@ -614,8 +614,8 @@ static int rval_evali(snd_use_case_mgr_t *uc_mgr, snd_config_t *node, const char
|
|||
size_t l;
|
||||
int err;
|
||||
|
||||
if (uc_mgr->conf_format < 5) {
|
||||
uc_error("variable evaluation is supported in v5+ syntax");
|
||||
if (uc_mgr->conf_format < 6) {
|
||||
uc_error("variable evaluation is supported in v6+ syntax");
|
||||
return -EINVAL;
|
||||
}
|
||||
err = snd_config_get_id(node, &id);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue