node: add node.lock-quantum property

The graph will not switch quantums when there is an active node
with the node.lock-quantum property set to true.

It can be used to stop certain jack clients from crashing when the
quantum changes.
This commit is contained in:
Wim Taymans 2021-07-30 10:18:38 +02:00
parent 9f2d6d6d28
commit 7bec96640c
4 changed files with 10 additions and 2 deletions

View file

@ -677,6 +677,7 @@ struct pw_impl_node {
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 */
unsigned int lock_quantum:1; /**< don't change graph quantum */
uint32_t port_user_data_size; /**< extra size for port user data */