mirror of
https://gitlab.freedesktop.org/pipewire/pipewire
synced 2024-09-15 22:20:09 +00:00
alsa: add resampler delay in clock delay reporting
This commit is contained in:
parent
99b2973c31
commit
cab5cf3ccb
|
@ -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->position += state->duration;
|
||||
state->clock->duration = state->duration;
|
||||
state->clock->delay = delay;
|
||||
state->clock->delay = delay + state->delay;
|
||||
state->clock->rate_diff = corr;
|
||||
state->clock->next_nsec = state->next_time;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue