mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2026-02-08 10:06:19 -05:00
ucm: implement disdevall sequence command
It is useful to run all disable sequences for all UCM devices in a verb to ensure the valid, expected initial state. Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
0ba999591b
commit
4119e33d28
4 changed files with 39 additions and 2 deletions
|
|
@ -1106,6 +1106,11 @@ device:
|
|||
continue;
|
||||
}
|
||||
|
||||
if (strcmp(cmd, "disdevall") == 0) {
|
||||
curr->type = SEQUENCE_ELEMENT_TYPE_DEV_DISABLE_ALL;
|
||||
continue;
|
||||
}
|
||||
|
||||
if (strcmp(cmd, "cset-bin-file") == 0) {
|
||||
curr->type = SEQUENCE_ELEMENT_TYPE_CSET_BIN_FILE;
|
||||
goto cset;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue