mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
audiomixer: don't mix when no input
Give the app a chance to provide some input when there is nothing to mix anymore in process_output. alsa: fix buffer size
This commit is contained in:
parent
e864836300
commit
90ea120d3c
2 changed files with 4 additions and 4 deletions
|
|
@ -780,7 +780,7 @@ spa_audiomixer_node_process_output (SpaNode *node)
|
|||
if (port->io == NULL || port->n_buffers == 0)
|
||||
continue;
|
||||
|
||||
if (port->queued_bytes > 0 && port->queued_bytes < min_queued)
|
||||
if (port->queued_bytes < min_queued)
|
||||
min_queued = port->queued_bytes;
|
||||
}
|
||||
if (min_queued != SIZE_MAX && min_queued > 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue