mirror of
				https://github.com/alsa-project/alsa-lib.git
				synced 2025-11-03 09:01:52 -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
				
			
		| 
						 | 
				
			
			@ -56,6 +56,7 @@
 | 
			
		|||
#define SEQUENCE_ELEMENT_TYPE_CTL_REMOVE	9
 | 
			
		||||
#define SEQUENCE_ELEMENT_TYPE_CMPT_SEQ		10
 | 
			
		||||
#define SEQUENCE_ELEMENT_TYPE_SYSSET		11
 | 
			
		||||
#define SEQUENCE_ELEMENT_TYPE_CFGSAVE		12
 | 
			
		||||
 | 
			
		||||
struct ucm_value {
 | 
			
		||||
        struct list_head list;
 | 
			
		||||
| 
						 | 
				
			
			@ -78,6 +79,7 @@ struct sequence_element {
 | 
			
		|||
		char *cset;
 | 
			
		||||
		char *exec;
 | 
			
		||||
		char *sysw;
 | 
			
		||||
		char *cfgsave;
 | 
			
		||||
		struct component_sequence cmpt_seq; /* component sequence */
 | 
			
		||||
	} data;
 | 
			
		||||
};
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue