mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-03 09:01:54 -05:00
Improve process_output
process_output is now to finish processing of the output in async nodes, which means we need to fill the io area before sending the HAVE_OUTPUT event. This simplifies some things and improves performance because we don't need to deal with queues and additional checks.
This commit is contained in:
parent
5b0b9c43d0
commit
f5dbdbc0df
10 changed files with 45 additions and 156 deletions
|
|
@ -698,7 +698,7 @@ spa_alsa_sink_node_process_input (SpaNode *node)
|
|||
this->ringbuffer->outstanding = true;
|
||||
this->ringbuffer = b;
|
||||
} else {
|
||||
spa_list_insert (this->ready.prev, &b->list);
|
||||
spa_list_insert (this->ready.prev, &b->link);
|
||||
}
|
||||
b->outstanding = false;
|
||||
input->status = SPA_RESULT_OK;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue