mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	alsa: update the offset after each copy
This commit is contained in:
		
							parent
							
								
									8cadcd7f56
								
							
						
					
					
						commit
						187b6d4bf9
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
					@ -406,6 +406,7 @@ pull_frames(struct state *state,
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
		total_frames += n_frames;
 | 
							total_frames += n_frames;
 | 
				
			||||||
		to_write -= n_frames;
 | 
							to_write -= n_frames;
 | 
				
			||||||
 | 
							offset += n_frames;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		spa_log_trace(state->log, "alsa-util %p: written %lu frames, left %ld",
 | 
							spa_log_trace(state->log, "alsa-util %p: written %lu frames, left %ld",
 | 
				
			||||||
				state, total_frames, to_write);
 | 
									state, total_frames, to_write);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue