mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	link: handle the right port in the callback
This commit is contained in:
		
							parent
							
								
									7b12212eeb
								
							
						
					
					
						commit
						a3ca2df0fe
					
				
					 4 changed files with 9 additions and 6 deletions
				
			
		| 
						 | 
				
			
			@ -227,6 +227,7 @@ static int impl_node_set_param(struct spa_node *node, uint32_t id, uint32_t flag
 | 
			
		|||
	case SPA_PARAM_Profile:
 | 
			
		||||
		if (impl->started)
 | 
			
		||||
			return -EIO;
 | 
			
		||||
		pw_log_debug("set profile %d", id);
 | 
			
		||||
		if (impl->adapter != impl->cnode) {
 | 
			
		||||
			if ((res = spa_node_set_param(impl->adapter, id, flags, param)) < 0)
 | 
			
		||||
				return res;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue