mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
node: remove and add node from graph in idle/running
Add the node and all links to the graph when going to running and remove them again when idle.
This commit is contained in:
parent
cd1c7b74af
commit
0f69a7b767
6 changed files with 121 additions and 105 deletions
|
|
@ -625,7 +625,9 @@ static int impl_node_process(struct spa_node *node)
|
|||
input = this->io;
|
||||
spa_return_val_if_fail(input != NULL, -EIO);
|
||||
|
||||
spa_log_trace(this->log, NAME " %p: process %d %d", this, input->status, input->buffer_id);
|
||||
spa_log_trace(this->log, NAME " %p: process %d %d/%d", this, input->status,
|
||||
input->buffer_id,
|
||||
this->n_buffers);
|
||||
|
||||
if (input->status == SPA_STATUS_HAVE_BUFFER &&
|
||||
input->buffer_id < this->n_buffers) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue