mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-06 13:29:59 -05:00
ucm: add cfg-save command
Allow to save whole (or partial) local UCM alsa library configuration to a file. Syntax (saves key1.key2 sub-tree): Sequence [ cfg-save "/tmp/my-file.conf:key1.key2" ] Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
f821f09727
commit
5e7c507152
4 changed files with 56 additions and 0 deletions
|
|
@ -512,6 +512,9 @@ void uc_mgr_free_sequence_element(struct sequence_element *seq)
|
|||
case SEQUENCE_ELEMENT_TYPE_SHELL:
|
||||
free(seq->data.exec);
|
||||
break;
|
||||
case SEQUENCE_ELEMENT_TYPE_CFGSAVE:
|
||||
free(seq->data.cfgsave);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue