mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	pulse-server: add some debug
This commit is contained in:
		
							parent
							
								
									700a22b7f7
								
							
						
					
					
						commit
						cc9fbe4375
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -1249,6 +1249,8 @@ static void stream_process(void *data)
 | 
			
		|||
				}
 | 
			
		||||
				spa_ringbuffer_read_update(&stream->ring, index);
 | 
			
		||||
			}
 | 
			
		||||
			pw_log_debug("%p: [%s] underrun read:%u avail:%d max:%u",
 | 
			
		||||
					stream, client->name, index, avail, minreq);
 | 
			
		||||
		} else {
 | 
			
		||||
			if (avail > (int32_t)stream->attr.maxlength) {
 | 
			
		||||
				uint32_t skip = avail - stream->attr.maxlength;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue