mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	client-node: improve cleanup
This commit is contained in:
		
							parent
							
								
									3777d9612e
								
							
						
					
					
						commit
						5ee287d79b
					
				
					 4 changed files with 25 additions and 9 deletions
				
			
		| 
						 | 
				
			
			@ -588,11 +588,11 @@ impl_node_port_use_buffers(struct spa_node *node,
 | 
			
		|||
 | 
			
		||||
	port = GET_PORT(this, direction, port_id);
 | 
			
		||||
 | 
			
		||||
	spa_return_val_if_fail(port->have_format, -EIO);
 | 
			
		||||
 | 
			
		||||
	spa_log_info(this->log, NAME " %p: use buffers %d on port %d:%d",
 | 
			
		||||
			this, n_buffers, direction, port_id);
 | 
			
		||||
 | 
			
		||||
	spa_return_val_if_fail(port->have_format, -EIO);
 | 
			
		||||
 | 
			
		||||
	clear_buffers(this, port);
 | 
			
		||||
 | 
			
		||||
	for (i = 0; i < n_buffers; i++) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue