node: add finish hook

Add a finish hook to signal when the graph of a driver node
finished.
This commit is contained in:
Wim Taymans 2018-03-21 09:18:52 +01:00
parent 99d94044d1
commit 76ed4e9468
2 changed files with 20 additions and 1 deletions

View file

@ -87,6 +87,8 @@ struct pw_node_events {
void (*process) (void *data);
/** the node has a buffer to reuse */
void (*reuse_buffer) (void *data, uint32_t port_id, uint32_t buffer_id);
void (*finish) (void *data);
};
/** Automatically connect this node to a compatible node */