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>
return -EINVAL;
}
- if (uc_mgr->conf_format < 5) {
- uc_error("DefineMacro is supported in v5+ syntax");
+ if (uc_mgr->conf_format < 6) {
+ uc_error("DefineMacro is supported in v6+ syntax");
return -EINVAL;
}
return -EINVAL;
}
- if (uc_mgr->conf_format < 5) {
- uc_error("Macro is supported in v5+ syntax");
+ if (uc_mgr->conf_format < 6) {
+ uc_error("Macro is supported in v6+ syntax");
return -EINVAL;
}
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);