mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	media-session: don't switch to pro-audio by default
Ignore the pro-audio profile when finding the best profile. We only want to enable the profile when explicitly set. Fixes #761
This commit is contained in:
		
							parent
							
								
									7a5a944704
								
							
						
					
					
						commit
						84fc63e601
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		| 
						 | 
					@ -176,6 +176,9 @@ static int find_best_profile(struct device *dev, struct profile *pr)
 | 
				
			||||||
		    parse_profile(p, &t) < 0)
 | 
							    parse_profile(p, &t) < 0)
 | 
				
			||||||
			continue;
 | 
								continue;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
							if (t.name && strcmp(t.name, "pro-audio") == 0)
 | 
				
			||||||
 | 
								continue;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		if (t.name && strcmp(t.name, "off") == 0) {
 | 
							if (t.name && strcmp(t.name, "off") == 0) {
 | 
				
			||||||
			off = t;
 | 
								off = t;
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue