context: reorganize graph recalc

Move quantum calculation after adding unassigned to fallback drivers
so that they also receive the required quantum.
This commit is contained in:
Wim Taymans 2020-04-28 09:58:43 +02:00
parent 2220d5b9b6
commit ea9a016797
3 changed files with 59 additions and 65 deletions

View file

@ -532,7 +532,6 @@ struct pw_impl_node {
struct pw_impl_node *driver_node;
struct spa_list follower_list;
struct spa_list follower_link;
uint32_t active_followers;
struct spa_list sort_link; /**< link used to sort nodes */
@ -549,7 +548,6 @@ struct pw_impl_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 {