mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	module-rtp-source: increase overrun watermark a little
On Wifi we can get big bursts.
This commit is contained in:
		
							parent
							
								
									0fd44bc9d0
								
							
						
					
					
						commit
						6e99ccb73e
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -283,10 +283,10 @@ static void stream_process(void *data)
 | 
			
		|||
		}
 | 
			
		||||
	} else {
 | 
			
		||||
		float error, corr;
 | 
			
		||||
		if (avail > (int32_t)SPA_MIN(target_buffer * 3, BUFFER_SIZE)) {
 | 
			
		||||
		if (avail > (int32_t)SPA_MIN(target_buffer * 8, BUFFER_SIZE)) {
 | 
			
		||||
			pw_log_warn("overrun %u > %u", avail, target_buffer * 8);
 | 
			
		||||
			index += avail - target_buffer;
 | 
			
		||||
			avail = target_buffer;
 | 
			
		||||
			pw_log_warn("overrun %u > %u", avail, target_buffer * 3);
 | 
			
		||||
		} else {
 | 
			
		||||
			if (sess->first) {
 | 
			
		||||
				if ((uint32_t)avail > target_buffer) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue