mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-15 07:00:05 -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
|
|
@ -241,7 +241,7 @@ spa_graph_node_add(struct spa_graph *graph,
|
|||
|
||||
static inline void spa_graph_node_remove(struct spa_graph_node *node)
|
||||
{
|
||||
spa_debug("node %p remove", node);
|
||||
spa_debug("node %p remove from graph %p", node, node->graph);
|
||||
spa_graph_link_remove(&node->graph_link);
|
||||
spa_list_remove(&node->link);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue