mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	remote: make extra nodes for scheduler
Add an extra input and output node for remote nodes. We link this node to all remote inputs and outputs to make it easier to use the scheduler. Improve scheduler debug
This commit is contained in:
		
							parent
							
								
									4d03224141
								
							
						
					
					
						commit
						3c1957fd9d
					
				
					 7 changed files with 125 additions and 77 deletions
				
			
		| 
						 | 
				
			
			@ -794,15 +794,17 @@ static int spa_proxy_node_process_output(struct spa_node *node)
 | 
			
		|||
		impl->transport->outputs[i] = *io;
 | 
			
		||||
		if (tmp.status == SPA_RESULT_HAVE_BUFFER)
 | 
			
		||||
			res = SPA_RESULT_HAVE_BUFFER;
 | 
			
		||||
		else if (tmp.status == SPA_RESULT_NEED_BUFFER)
 | 
			
		||||
			res = SPA_RESULT_NEED_BUFFER;
 | 
			
		||||
		*io = tmp;
 | 
			
		||||
		pw_log_trace("%d %d -> %d %d", io->status, io->buffer_id,
 | 
			
		||||
				impl->transport->outputs[i].status,
 | 
			
		||||
				impl->transport->outputs[i].buffer_id);
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	pw_client_node_transport_add_message(impl->transport,
 | 
			
		||||
			       &PW_CLIENT_NODE_MESSAGE_INIT(PW_CLIENT_NODE_MESSAGE_PROCESS_OUTPUT));
 | 
			
		||||
	do_flush(this);
 | 
			
		||||
 | 
			
		||||
	return res;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue