mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	client-node: make it possible to skip signal
Add an option to not signal the remote implementation when we still have enough data.
This commit is contained in:
		
							parent
							
								
									f784da5505
								
							
						
					
					
						commit
						a6cb6b740c
					
				
					 3 changed files with 13 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -688,6 +688,11 @@ static int impl_node_process(struct spa_node *node)
 | 
			
		|||
	}
 | 
			
		||||
	spa_log_trace(this->log, "%p: process %d", this, status);
 | 
			
		||||
 | 
			
		||||
	if (status & SPA_STATUS_NEED_BUFFER)
 | 
			
		||||
		impl->client_node->status = SPA_ID_INVALID;
 | 
			
		||||
	else
 | 
			
		||||
		impl->client_node->status = SPA_STATUS_HAVE_BUFFER;
 | 
			
		||||
 | 
			
		||||
	return status;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue