mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	impl-node: don't log driver twice
When dumping the driver targets, only log the driver once.
This commit is contained in:
		
							parent
							
								
									159fa7177a
								
							
						
					
					
						commit
						bec73f26a7
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -1103,6 +1103,9 @@ static void check_states(struct pw_impl_node *driver, uint64_t nsec)
 | 
			
		|||
		struct pw_node_activation *a = t->activation;
 | 
			
		||||
		struct pw_node_activation_state *state = &a->state[0];
 | 
			
		||||
 | 
			
		||||
		if (t->id == driver->info.id)
 | 
			
		||||
			continue;
 | 
			
		||||
 | 
			
		||||
		if (a->status == PW_NODE_ACTIVATION_TRIGGERED ||
 | 
			
		||||
		    a->status == PW_NODE_ACTIVATION_AWAKE) {
 | 
			
		||||
			update_xrun_stats(a, nsec / 1000, 0);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue