mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2026-03-04 01:40:09 -05:00
ucm: execute SectionDefaults lately (when the first verb is set)
We need a way to set the SectionOnce at first before SectionDefaults. It also does not make sense to run SectionDefaults when the API is used only to query for values or so. Execute the SectionDefaults commands only when the first verb is set (before the verb specific commands). Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
e0da1d2a2a
commit
afb5a9cf61
2 changed files with 13 additions and 8 deletions
|
|
@ -226,6 +226,7 @@ struct snd_use_case_mgr {
|
|||
|
||||
/* default settings - sequence */
|
||||
struct list_head default_list;
|
||||
int default_list_executed;
|
||||
|
||||
/* default settings - value list */
|
||||
struct list_head value_list;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue