mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-06 13:30:01 -05:00
node: add enabled state
Add method to enable/disable a node. Disabled nodes will SUSPEND and not be available for automatic connections, it is intented for handling the monitor node state.
This commit is contained in:
parent
95b3cba3c3
commit
bd1fea49c2
4 changed files with 43 additions and 3 deletions
|
|
@ -243,6 +243,7 @@ struct pw_node {
|
|||
|
||||
struct pw_node_info info; /**< introspectable node info */
|
||||
|
||||
bool enabled; /**< if the node is enabled */
|
||||
bool active; /**< if the node is active */
|
||||
bool live; /**< if the node is live */
|
||||
struct spa_clock *clock; /**< handle to SPA clock if any */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue