mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	include ALSA driver in properties for cards/sink
This commit is contained in:
		
							parent
							
								
									4bd654542e
								
							
						
					
					
						commit
						e6f4586f7b
					
				
					 1 changed files with 6 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -1254,7 +1254,7 @@ void pa_alsa_redirect_errors_dec(void) {
 | 
			
		|||
}
 | 
			
		||||
 | 
			
		||||
void pa_alsa_init_proplist_card(pa_core *c, pa_proplist *p, int card) {
 | 
			
		||||
    char *cn, *lcn;
 | 
			
		||||
    char *cn, *lcn, *dn;
 | 
			
		||||
 | 
			
		||||
    pa_assert(p);
 | 
			
		||||
    pa_assert(card >= 0);
 | 
			
		||||
| 
						 | 
				
			
			@ -1271,6 +1271,11 @@ void pa_alsa_init_proplist_card(pa_core *c, pa_proplist *p, int card) {
 | 
			
		|||
        free(lcn);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    if ((dn = pa_alsa_get_driver_name(card))) {
 | 
			
		||||
        pa_proplist_sets(p, "alsa.driver_name", dn);
 | 
			
		||||
        pa_xfree(dn);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
#ifdef HAVE_HAL
 | 
			
		||||
    pa_hal_get_info(c, p, card);
 | 
			
		||||
#endif
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue