mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-04 13:30:08 -05:00
ucm: configuration - allow to define the configuration variables
It may be useful for the library files to use the runtime configuration
variables.
Example:
Define.Var1 "hw:${CardId},2"
Value.PlaybackPCM "${var:Var1}"
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
6cc6024ac5
commit
ed4567d1c9
5 changed files with 130 additions and 5 deletions
|
|
@ -966,6 +966,7 @@ int snd_use_case_mgr_open(snd_use_case_mgr_t **uc_mgr,
|
|||
INIT_LIST_HEAD(&mgr->active_modifiers);
|
||||
INIT_LIST_HEAD(&mgr->active_devices);
|
||||
INIT_LIST_HEAD(&mgr->ctl_list);
|
||||
INIT_LIST_HEAD(&mgr->variable_list);
|
||||
pthread_mutex_init(&mgr->mutex, NULL);
|
||||
|
||||
mgr->card_name = strdup(card_name);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue