mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
audioconvert: add queued input to the delay
The input that we have queued will also add to the resampler delay. Fixes #3454
This commit is contained in:
parent
150c1cc05d
commit
b9d78d5992
1 changed files with 1 additions and 1 deletions
|
|
@ -2594,7 +2594,7 @@ static uint32_t resample_update_rate_match(struct impl *this, bool passthrough,
|
|||
spa_log_trace_fp(this->log, "%p: next match %u", this, match_size);
|
||||
|
||||
if (this->io_rate_match) {
|
||||
this->io_rate_match->delay = delay;
|
||||
this->io_rate_match->delay = delay + in_queued;
|
||||
this->io_rate_match->size = match_size;
|
||||
}
|
||||
return match_size;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue