mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-06 13:29:59 -05:00
ucm: macro call inplace evaluate inside macro
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
70e2ed50a3
commit
80ac6f9866
1 changed files with 5 additions and 0 deletions
|
|
@ -430,6 +430,11 @@ static int evaluate_macro1(snd_use_case_mgr_t *uc_mgr,
|
|||
err = snd_config_copy(&mc, m);
|
||||
if (err < 0)
|
||||
goto __err_path;
|
||||
err = uc_mgr_evaluate_inplace(uc_mgr, mc);
|
||||
if (err < 0) {
|
||||
snd_config_delete(mc);
|
||||
goto __err_path;
|
||||
}
|
||||
err = uc_mgr_config_tree_merge(uc_mgr, dst, mc, NULL, NULL);
|
||||
snd_config_delete(mc);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue