monitor: set node enabled state

Let the monitor update the node enabled states when creating
and on change events.
This commit is contained in:
Wim Taymans 2018-01-30 15:08:44 +01:00
parent bd1fea49c2
commit ad1e5fdc10
3 changed files with 43 additions and 10 deletions

View file

@ -32,7 +32,8 @@ extern "C" {
enum pw_spa_node_flags {
PW_SPA_NODE_FLAG_ASYNC = (1 << 0),
PW_SPA_NODE_FLAG_ACTIVATE = (1 << 1),
PW_SPA_NODE_FLAG_DISABLE = (1 << 1),
PW_SPA_NODE_FLAG_ACTIVATE = (1 << 2),
};
struct pw_node *