mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04: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
|
|
@ -725,13 +725,13 @@ spa_volume_node_process_input (SpaNode *node)
|
|||
if (sbuf != dbuf)
|
||||
release_buffer (this, sbuf);
|
||||
|
||||
return SPA_RESULT_HAVE_OUTPUT;
|
||||
return SPA_RESULT_HAVE_BUFFER;
|
||||
}
|
||||
|
||||
static SpaResult
|
||||
spa_volume_node_process_output (SpaNode *node)
|
||||
{
|
||||
return SPA_RESULT_NEED_INPUT;
|
||||
return SPA_RESULT_NEED_BUFFER;
|
||||
}
|
||||
|
||||
static const SpaNode volume_node = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue