mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-10 13:30:05 -05:00
stream: add flush and drain command
This commit is contained in:
parent
754782f302
commit
9dba8f3a36
3 changed files with 41 additions and 5 deletions
|
|
@ -233,10 +233,10 @@ static inline void
|
|||
spa_graph_node_add(struct spa_graph *graph,
|
||||
struct spa_graph_node *node)
|
||||
{
|
||||
spa_debug("node %p add to graph %p", node, graph);
|
||||
node->graph = graph;
|
||||
spa_list_append(&graph->nodes, &node->link);
|
||||
spa_graph_link_add(node, graph->state, &node->graph_link);
|
||||
spa_debug("node %p add to graph %p", node, graph);
|
||||
}
|
||||
|
||||
static inline void spa_graph_node_remove(struct spa_graph_node *node)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue