mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-05 13:30:00 -05:00
ucm: substitute the merged tree completely
We need to define the common shared configuration like for multiple
HDMI devices or so. Substitute the whole merged configuration tree
including identifiers.
Fixes: https://github.com/alsa-project/alsa-lib/issues/67
Fixes: dcef48f13d
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
30d12e930c
commit
32addac948
4 changed files with 66 additions and 4 deletions
|
|
@ -307,7 +307,11 @@ int uc_mgr_get_substituted_value(snd_use_case_mgr_t *uc_mgr,
|
|||
char **_rvalue,
|
||||
const char *value);
|
||||
|
||||
int uc_mgr_config_tree_merge(snd_config_t *parent, snd_config_t *new_ctx,
|
||||
int uc_mgr_substitute_tree(snd_use_case_mgr_t *uc_mgr,
|
||||
snd_config_t *node);
|
||||
|
||||
int uc_mgr_config_tree_merge(snd_use_case_mgr_t *uc_mgr,
|
||||
snd_config_t *parent, snd_config_t *new_ctx,
|
||||
snd_config_t *before, snd_config_t *after);
|
||||
|
||||
int uc_mgr_evaluate_inplace(snd_use_case_mgr_t *uc_mgr,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue