mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
audioconvert2: fix in/out queued samples
This commit is contained in:
parent
7fe15ee5db
commit
d5c28149f1
1 changed files with 2 additions and 2 deletions
|
|
@ -2173,7 +2173,7 @@ static int impl_node_process(void *object)
|
|||
* always output the resulting data */
|
||||
n_samples = SPA_MIN(n_samples, quant_samples);
|
||||
max_out = this->quantum_limit;
|
||||
in_avail = flush_out = true;
|
||||
flush_out = true;
|
||||
}
|
||||
|
||||
dir = &this->dir[SPA_DIRECTION_OUTPUT];
|
||||
|
|
@ -2376,7 +2376,7 @@ static int impl_node_process(void *object)
|
|||
}
|
||||
}
|
||||
resample_update_rate_match(this, resample_passthrough,
|
||||
quant_samples,
|
||||
n_out - this->out_offset,
|
||||
max_in - this->in_offset);
|
||||
|
||||
return res;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue