mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	impl-node: improve xrun debug
Debug the xrun state before we change things and run the recovery process.
This commit is contained in:
		
							parent
							
								
									50e14194c0
								
							
						
					
					
						commit
						647237b955
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -2038,11 +2038,11 @@ static int node_ready(void *data, int status)
 | 
			
		|||
		pw_impl_node_rt_emit_incomplete(driver);
 | 
			
		||||
		old_status = SPA_ATOMIC_LOAD(a->status);
 | 
			
		||||
		if (old_status != PW_NODE_ACTIVATION_FINISHED) {
 | 
			
		||||
			debug_xrun_graph(node, nsec);
 | 
			
		||||
			SPA_ATOMIC_STORE(a->status, PW_NODE_ACTIVATION_TRIGGERED);
 | 
			
		||||
			SPA_FLAG_SET(cl->flags, SPA_IO_CLOCK_FLAG_XRUN_RECOVER);
 | 
			
		||||
			process_node(node, nsec);
 | 
			
		||||
			SPA_FLAG_CLEAR(cl->flags, SPA_IO_CLOCK_FLAG_XRUN_RECOVER);
 | 
			
		||||
			debug_xrun_graph(node, nsec);
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue