node: update quantum dynamically

Keep the requested quantum around and recalculate when nodes are
added and removed from the driver graph.
This commit is contained in:
Wim Taymans 2018-09-20 17:47:22 +02:00
parent 5ba27a7dc1
commit 3af7b42193
2 changed files with 64 additions and 26 deletions

View file

@ -352,6 +352,7 @@ struct pw_node {
struct spa_graph_node node;
struct spa_graph_node subnode;
struct spa_graph_link sublink;
uint32_t quantum_size;
} rt;
void *user_data; /**< extra user data */