mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	merger: don't try to change the volumes in PortConfig
Just leave them be. Something else is supposed to changed the volumes if needed. In the usual case where nothing changes, we don't want to override the volumes.
This commit is contained in:
		
							parent
							
								
									d439b7cdd7
								
							
						
					
					
						commit
						8a9c2ae901
					
				
					 1 changed files with 1 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -507,11 +507,8 @@ static int impl_node_set_param(void *object, uint32_t id, uint32_t flags,
 | 
			
		|||
		this->have_profile = true;
 | 
			
		||||
		this->port_count = info.info.raw.channels;
 | 
			
		||||
		this->monitor_count = this->monitor ? this->port_count : 0;
 | 
			
		||||
		for (i = 0; i < this->port_count; i++) {
 | 
			
		||||
		for (i = 0; i < this->port_count; i++)
 | 
			
		||||
			this->props.channel_map[i] = info.info.raw.position[i];
 | 
			
		||||
			this->props.channel_volumes[i] = this->props.volume;
 | 
			
		||||
			this->props.monitor_volumes[i] = this->props.volume;
 | 
			
		||||
		}
 | 
			
		||||
		this->props.n_channel_volumes = this->port_count;
 | 
			
		||||
		this->props.n_monitor_volumes = this->port_count;
 | 
			
		||||
		this->props.n_channels = this->port_count;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue