mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	pulse: fix fragsize initialization
This commit is contained in:
		
							parent
							
								
									d027a02223
								
							
						
					
					
						commit
						1d95b5bb5b
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -188,7 +188,7 @@ static void patch_buffer_attr(pa_stream *s, pa_buffer_attr *attr, pa_stream_flag
 | 
			
		|||
		if (attr->prebuf == 0)
 | 
			
		||||
			attr->prebuf = -1;
 | 
			
		||||
		if (attr->fragsize == 0)
 | 
			
		||||
			attr->prebuf = -1;
 | 
			
		||||
			attr->fragsize = -1;
 | 
			
		||||
		period = 100;
 | 
			
		||||
	} else {
 | 
			
		||||
		period = 20;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue