mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-02 09:01:48 -05:00
ucm: add ctl-remove sequence command to delete controls from UCM
Syntax: ctl-remove "name='ABCD'" Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
02423dc970
commit
3cfbacdc34
4 changed files with 22 additions and 4 deletions
|
|
@ -768,6 +768,11 @@ cset:
|
|||
goto cset;
|
||||
}
|
||||
|
||||
if (strcmp(cmd, "ctl-remove") == 0) {
|
||||
curr->type = SEQUENCE_ELEMENT_TYPE_CTL_REMOVE;
|
||||
goto cset;
|
||||
}
|
||||
|
||||
if (strcmp(cmd, "sysw") == 0) {
|
||||
curr->type = SEQUENCE_ELEMENT_TYPE_SYSSET;
|
||||
err = parse_string_substitute3(uc_mgr, n, &curr->data.sysw);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue