mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	graph: provide in and out counters
Make it possible to have input and output counters to see when a node can be scheduled.
This commit is contained in:
		
							parent
							
								
									e641914c2f
								
							
						
					
					
						commit
						26e9daf6b7
					
				
					 6 changed files with 42 additions and 38 deletions
				
			
		| 
						 | 
				
			
			@ -299,7 +299,7 @@ static int driver_process_output(struct spa_node *node)
 | 
			
		|||
	out->outbuf->datas[0].chunk->size = ctrl->buffer_size * sizeof(int16_t) * 2;
 | 
			
		||||
 | 
			
		||||
	spa_hook_list_call(&nd->listener_list, struct pw_jack_node_events, push);
 | 
			
		||||
	gn->ready_in = gn->required_in;
 | 
			
		||||
	gn->ready[SPA_DIRECTION_INPUT] = gn->required[SPA_DIRECTION_OUTPUT] = 0;
 | 
			
		||||
 | 
			
		||||
	return SPA_RESULT_HAVE_BUFFER;
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue