mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-10-29 05:40:27 -04:00 
			
		
		
		
	alsa: add resampler delay in clock delay reporting
This commit is contained in:
		
							parent
							
								
									99b2973c31
								
							
						
					
					
						commit
						cab5cf3ccb
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -907,7 +907,7 @@ static int update_time(struct state *state, uint64_t nsec, snd_pcm_sframes_t del | ||||||
| 		state->clock->nsec = nsec; | 		state->clock->nsec = nsec; | ||||||
| 		state->clock->position += state->duration; | 		state->clock->position += state->duration; | ||||||
| 		state->clock->duration = state->duration; | 		state->clock->duration = state->duration; | ||||||
| 		state->clock->delay = delay; | 		state->clock->delay = delay + state->delay; | ||||||
| 		state->clock->rate_diff = corr; | 		state->clock->rate_diff = corr; | ||||||
| 		state->clock->next_nsec = state->next_time; | 		state->clock->next_nsec = state->next_time; | ||||||
| 	} | 	} | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Wim Taymans
						Wim Taymans