mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	modules: make sure we increment the n_frames correctly
This commit is contained in:
		
							parent
							
								
									1cb17c05e9
								
							
						
					
					
						commit
						8a72310f0b
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
					@ -209,8 +209,9 @@ static void vban_audio_flush_packets(struct impl *impl)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		timestamp += tosend;
 | 
							timestamp += tosend;
 | 
				
			||||||
		avail -= tosend;
 | 
							avail -= tosend;
 | 
				
			||||||
		impl->header.n_frames++;
 | 
							header.n_frames++;
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
						impl->header.n_frames = header.n_frames;
 | 
				
			||||||
	spa_ringbuffer_read_update(&impl->ring, timestamp);
 | 
						spa_ringbuffer_read_update(&impl->ring, timestamp);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue