mirror of
				https://github.com/alsa-project/alsa-lib.git
				synced 2025-11-03 09:01:52 -05:00 
			
		
		
		
	namehint: Allow snd_device_name_hint to search for CTL devices.
Signed-off-by: John Lindgren <john.lindgren@tds.net> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
		
							parent
							
								
									592bd1e98b
								
							
						
					
					
						commit
						0fcac21756
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -536,6 +536,8 @@ int snd_device_name_hint(int card, const char *iface, void ***hints)
 | 
			
		|||
		list.iface = SND_CTL_ELEM_IFACE_SEQUENCER;
 | 
			
		||||
	else if (strcmp(iface, "hwdep") == 0)
 | 
			
		||||
		list.iface = SND_CTL_ELEM_IFACE_HWDEP;
 | 
			
		||||
	else if (strcmp(iface, "ctl") == 0)
 | 
			
		||||
		list.iface = SND_CTL_ELEM_IFACE_MIXER;
 | 
			
		||||
	else
 | 
			
		||||
		return -EINVAL;
 | 
			
		||||
	list.show_all = 0;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue