node: add flag to always assign a driver to a node

Add flag to always assign a node to a driver. This makes sure that
even when the node is not linked to anything, it will still be
scheduled by an active driver. This is needed for JACK support.
This commit is contained in:
Wim Taymans 2019-08-27 14:39:04 +02:00
parent bc88e1cbf8
commit f36daaedea
5 changed files with 57 additions and 4 deletions

View file

@ -419,6 +419,7 @@ struct pw_node {
unsigned int master:1; /**< a master node is one of the driver nodes that
* is selected to drive the graph */
unsigned int visited:1; /**< for sorting */
unsigned int want_driver:1; /**< this node wants to be assigned to a driver */
uint32_t port_user_data_size; /**< extra size for port user data */