mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
audioconvert: improve EMPTY flag on output buffers
Only set the EMPTY flag on output buffers if we don't have any previously queued samples and the input is EMPTY. Fixes #3365
This commit is contained in:
parent
f99fd7d75a
commit
ab1436fb3b
1 changed files with 2 additions and 1 deletions
|
|
@ -2609,7 +2609,8 @@ static int impl_node_process(void *object)
|
|||
struct dir *dir;
|
||||
int tmp = 0, res = 0;
|
||||
bool in_passthrough, mix_passthrough, resample_passthrough, out_passthrough;
|
||||
bool in_avail = false, flush_in = false, flush_out = false, draining = false, in_empty = true;
|
||||
bool in_avail = false, flush_in = false, flush_out = false;
|
||||
bool draining = false, in_empty = this->out_offset == 0;
|
||||
struct spa_io_buffers *io, *ctrlio = NULL;
|
||||
const struct spa_pod_sequence *ctrl = NULL;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue