mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	remote-node: remove IO_Buffers before releasing the mix
This is usually done by the link but because we are a remote node, we manage the links ourselves.
This commit is contained in:
		
							parent
							
								
									2c5a3e9593
								
							
						
					
					
						commit
						74b6ab4288
					
				
					 2 changed files with 7 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -938,6 +938,9 @@ static void clear_mix(struct node_data *data, struct mix *mix)
 | 
			
		|||
{
 | 
			
		||||
	pw_log_debug("port %p: mix clear %d.%d", mix->port, mix->port->port_id, mix->mix_id);
 | 
			
		||||
 | 
			
		||||
	spa_node_port_set_io(mix->port->mix, mix->mix.port.direction,
 | 
			
		||||
			mix->mix.port.port_id, SPA_IO_Buffers, NULL, 0);
 | 
			
		||||
 | 
			
		||||
	spa_list_remove(&mix->link);
 | 
			
		||||
 | 
			
		||||
	clear_buffers(data, mix);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue