mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-10 13:30:05 -05:00
audioconvert: in merge mode, flush input
In merge mode we handle 1 quantum and then flush the input and output. Fixes a case were samples were cut at the start.
This commit is contained in:
parent
5363bdcfcb
commit
a427e602bd
1 changed files with 1 additions and 1 deletions
|
|
@ -2288,7 +2288,7 @@ static int impl_node_process(void *object)
|
||||||
* always output the resulting data */
|
* always output the resulting data */
|
||||||
n_samples = SPA_MIN(n_samples, quant_samples);
|
n_samples = SPA_MIN(n_samples, quant_samples);
|
||||||
max_out = this->quantum_limit;
|
max_out = this->quantum_limit;
|
||||||
flush_out = true;
|
flush_out = flush_in = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
dir = &this->dir[SPA_DIRECTION_OUTPUT];
|
dir = &this->dir[SPA_DIRECTION_OUTPUT];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue