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

@ -653,8 +653,11 @@ struct spa_node_methods {
/** node keys */
#define SPA_KEY_NODE_NAME "node.name" /**< a node name */
#define SPA_KEY_NODE_DRIVER "node.driver" /**< the node can be a driver */
#define SPA_KEY_NODE_LATENCY "node.latency" /**< the requested node latency */
#define SPA_KEY_NODE_DRIVER "node.driver" /**< the node can be a driver */
#define SPA_KEY_NODE_ALWAYS_PROCESS "node.always-process" /**< call the process function even if
* not linked. */
#define SPA_KEY_NODE_PAUSE_ON_IDLE "node.pause-on-idle" /**< if the node should be paused
* immediately when idle. */