node: keep better track of driver node

When a session disappears, try to move nodes to another session.
This commit is contained in:
Wim Taymans 2018-05-17 17:40:08 +02:00
parent 1bff5afe05
commit ef9fcd1093
7 changed files with 144 additions and 72 deletions

View file

@ -83,6 +83,9 @@ struct pw_node_events {
/** an event is emited */
void (*event) (void *data, const struct spa_event *event);
/** the driver of the node changed */
void (*driver_changed) (void *data, struct pw_node *driver);
/** the node wants to process the graph */
void (*process) (void *data);
/** the node has a buffer to reuse */