mirror of
				https://github.com/alsa-project/alsa-lib.git
				synced 2025-11-03 09:01:52 -05:00 
			
		
		
		
	ucm: split conf_file_name and conf_dir_name
With ucm2, the file name might differ from the directory name. Also, allocate those fields. Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
		
							parent
							
								
									b34715004f
								
							
						
					
					
						commit
						fe6425af75
					
				
					 5 changed files with 37 additions and 17 deletions
				
			
		| 
						 | 
				
			
			@ -187,7 +187,6 @@ struct use_case_verb {
 | 
			
		|||
	/* verb transition list */
 | 
			
		||||
	struct list_head transition_list;
 | 
			
		||||
 | 
			
		||||
	/* hardware devices that can be used with this use case */
 | 
			
		||||
	struct list_head device_list;
 | 
			
		||||
 | 
			
		||||
	/* component device list */
 | 
			
		||||
| 
						 | 
				
			
			@ -205,7 +204,8 @@ struct use_case_verb {
 | 
			
		|||
 */
 | 
			
		||||
struct snd_use_case_mgr {
 | 
			
		||||
	char *card_name;
 | 
			
		||||
	char conf_file_name[MAX_CARD_LONG_NAME];
 | 
			
		||||
	char *conf_file_name;
 | 
			
		||||
	char *conf_dir_name;
 | 
			
		||||
	char *comment;
 | 
			
		||||
	int conf_format;
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue