mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	test: fix number of queued samples
The number of queued samples is twice the delay.
This commit is contained in:
		
							parent
							
								
									6603fab405
								
							
						
					
					
						commit
						046f41c31c
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -111,7 +111,7 @@ static void pull_blocks(struct resample *r, uint32_t size)
 | 
				
			||||||
				in_len, pin_len, out_len, pout_len,
 | 
									in_len, pin_len, out_len, pout_len,
 | 
				
			||||||
				resample_in_len(r, size));
 | 
									resample_in_len(r, size));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		spa_assert(in_len == pin_len + resample_delay(r));
 | 
							spa_assert(in_len == pin_len + (resample_delay(r) * 2));
 | 
				
			||||||
		spa_assert(out_len == pout_len);
 | 
							spa_assert(out_len == pout_len);
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue