Add set_active method on node

Require that nodes need to be activated before they are scheduled.
Make method to activate remote node.
Add method to pause/resume stream.
This commit is contained in:
Wim Taymans 2017-10-13 16:18:42 +02:00
parent acfdc63f26
commit d96d40e30a
19 changed files with 135 additions and 46 deletions

View file

@ -66,6 +66,9 @@ struct pw_node_events {
/** the node info changed */
void (*info_changed) (void *data, struct pw_node_info *info);
/** the node active state changed */
void (*active_changed) (void *data, bool active);
/** a new state is requested on the node */
void (*state_request) (void *data, enum pw_node_state state);
/** the state of the node changed */