mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	
							parent
							
								
									1908c88cfc
								
							
						
					
					
						commit
						cb203e38c3
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		| 
						 | 
					@ -278,6 +278,10 @@ static uint32_t collect_profile_info(struct pw_manager_object *card, struct card
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
		n++;
 | 
							n++;
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
						if (card_info->active_profile_name == NULL && n > 0)
 | 
				
			||||||
 | 
							card_info->active_profile_name = profile_info[0].name;
 | 
				
			||||||
 | 
						if (card_info->active_profile_name == NULL)
 | 
				
			||||||
 | 
							card_info->active_profile_name = "invalid";
 | 
				
			||||||
	return n;
 | 
						return n;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue