mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-07 13:30:09 -05:00
node: add suport for quantum updates
When the node latency property is changed, trigger a graph recalc to set the new quantum if needed. Also update the driver quantum when unassigned nodes are assigned to a driver.
This commit is contained in:
parent
001c0a5217
commit
0f9594e119
4 changed files with 34 additions and 18 deletions
|
|
@ -490,6 +490,7 @@ struct pw_node {
|
|||
struct pw_loop *data_loop; /**< the data loop for this node */
|
||||
|
||||
uint32_t quantum_size; /**< desired quantum */
|
||||
uint32_t quantum_current; /**< current quantum for driver */
|
||||
struct spa_source source; /**< source to remotely trigger this node */
|
||||
struct pw_memblock *activation;
|
||||
struct {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue