mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
Rename buffer status to make it more symetrical
Only try to pull once in a timeout. We can reuse the last returned state as our internal state in audiomixer.
This commit is contained in:
parent
430b749d53
commit
cc8a5da9c7
11 changed files with 58 additions and 65 deletions
|
|
@ -855,7 +855,7 @@ spa_proxy_node_process_output (SpaNode *node)
|
|||
|
||||
pinos_log_trace ("%d %d %d %d", io->status, io->buffer_id, tmp.status, tmp.buffer_id);
|
||||
|
||||
if (io->status == SPA_RESULT_NEED_INPUT)
|
||||
if (io->status == SPA_RESULT_NEED_BUFFER)
|
||||
send_need = true;
|
||||
|
||||
*io = tmp;
|
||||
|
|
@ -865,7 +865,7 @@ spa_proxy_node_process_output (SpaNode *node)
|
|||
else if (flush)
|
||||
do_flush (this);
|
||||
|
||||
return SPA_RESULT_HAVE_OUTPUT;
|
||||
return SPA_RESULT_HAVE_BUFFER;
|
||||
}
|
||||
|
||||
static SpaResult
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue