mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	pulse-server: ignore adjust-latency for capture
Don't update the fragsize, it breaks #2418 again.
This commit is contained in:
		
							parent
							
								
									95cfb531a0
								
							
						
					
					
						commit
						bd584ca8c0
					
				
					 1 changed files with 0 additions and 3 deletions
				
			
		| 
						 | 
					@ -688,9 +688,6 @@ static uint64_t fix_record_buffer_attr(struct stream *s, struct buffer_attr *att
 | 
				
			||||||
	/* pulseaudio configures half the fragsize as latency in the source. */
 | 
						/* pulseaudio configures half the fragsize as latency in the source. */
 | 
				
			||||||
	latency = attr->fragsize / 2;
 | 
						latency = attr->fragsize / 2;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	if (s->adjust_latency)
 | 
					 | 
				
			||||||
		attr->fragsize = SPA_ROUND_UP(latency, frame_size);
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	lat->num = latency / frame_size;
 | 
						lat->num = latency / frame_size;
 | 
				
			||||||
	lat->denom = rate;
 | 
						lat->denom = rate;
 | 
				
			||||||
	clamp_latency(s, lat);
 | 
						clamp_latency(s, lat);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue