impl-node: Split ALWAYS_PROCESS and WANT_DRIVER handling

Make a new PW_KEY_NODE_WANT_DRIVER to assign the node to a running
driver. (does not work yet)
Use a new variable to hold the ALWAYS_PROCESS setting and also
update want_driver.
This makes things it a bit more future proof.
This commit is contained in:
Wim Taymans 2021-07-26 10:38:06 +02:00
parent 62fa0823ec
commit d1905716e4
3 changed files with 17 additions and 16 deletions

View file

@ -673,6 +673,7 @@ struct pw_impl_node {
unsigned int passive:1; /**< driver graph only has passive links */
unsigned int freewheel:1; /**< if this is the freewheel driver */
unsigned int loopchecked:1; /**< for feedback loop checking */
unsigned int always_process:1; /**< this node wants to always be processing, even when idle */
uint32_t port_user_data_size; /**< extra size for port user data */