mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
volume: only queue output buffers
Fix volume function, we try to write as many bytes as we can to the output buffer and set the offset and size in the chunk; Add some logging
This commit is contained in:
parent
eef6f380c1
commit
7f5c6ddd46
2 changed files with 18 additions and 11 deletions
|
|
@ -521,7 +521,7 @@ impl_node_port_use_buffers(struct spa_node *node,
|
|||
|
||||
b = &port->buffers[i];
|
||||
b->outbuf = buffers[i];
|
||||
b->outstanding = direction == SPA_DIRECTION_INPUT ? true : false;
|
||||
b->outstanding = (direction == SPA_DIRECTION_INPUT);
|
||||
b->h = spa_buffer_find_meta(buffers[i], t->meta.Header);
|
||||
|
||||
if (!((d[0].type == t->data.MemPtr ||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue