mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-02 09:01:48 -05:00
ucm: add cset-new sequence command to create new controls from UCM
This command create a new control using ID, description and value.
Syntax:
cset-new "name='ABCD',index=2 type=boolean,count=2 on,on"
cset-new "name='Enum' type=enum,labels='L1;L2;L3' 'L2'"
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
b0b9e4b88d
commit
02423dc970
4 changed files with 197 additions and 25 deletions
|
|
@ -51,8 +51,9 @@
|
|||
#define SEQUENCE_ELEMENT_TYPE_EXEC 4
|
||||
#define SEQUENCE_ELEMENT_TYPE_CSET_BIN_FILE 5
|
||||
#define SEQUENCE_ELEMENT_TYPE_CSET_TLV 6
|
||||
#define SEQUENCE_ELEMENT_TYPE_CMPT_SEQ 7
|
||||
#define SEQUENCE_ELEMENT_TYPE_SYSSET 8
|
||||
#define SEQUENCE_ELEMENT_TYPE_CSET_NEW 7
|
||||
#define SEQUENCE_ELEMENT_TYPE_CMPT_SEQ 8
|
||||
#define SEQUENCE_ELEMENT_TYPE_SYSSET 9
|
||||
|
||||
struct ucm_value {
|
||||
struct list_head list;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue