mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	pactl: Print available flag of card profiles
This commit is contained in:
		
							parent
							
								
									b98a2e158f
								
							
						
					
					
						commit
						16886bbf87
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -575,7 +575,8 @@ static void get_card_info_callback(pa_context *c, const pa_card_info *i, int is_
 | 
			
		|||
 | 
			
		||||
        printf(_("\tProfiles:\n"));
 | 
			
		||||
        for (p = i->profiles; p->name; p++)
 | 
			
		||||
            printf("\t\t%s: %s (sinks: %u, sources: %u, priority: %u)\n", p->name, p->description, p->n_sinks, p->n_sources, p->priority);
 | 
			
		||||
            printf("\t\t%s: %s (sinks: %u, sources: %u, priority: %u, available: %s)\n", p->name,
 | 
			
		||||
                p->description, p->n_sinks, p->n_sources, p->priority, pa_yes_no(p->available));
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    if (i->active_profile)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue