mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
node: init quantum to something default
This commit is contained in:
parent
dca37fe037
commit
8fee15457e
1 changed files with 2 additions and 0 deletions
|
|
@ -534,6 +534,8 @@ struct pw_node *pw_node_new(struct pw_core *core,
|
|||
spa_graph_node_init(&this->rt.node, &impl->node_activation.state);
|
||||
spa_graph_node_add(&impl->graph, &this->rt.node);
|
||||
|
||||
impl->quantum.rate = SPA_FRACTION(1, 48000);
|
||||
impl->quantum.size = 1024;
|
||||
this->rt.quantum = &impl->quantum;
|
||||
|
||||
check_properties(this);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue