context: add some more debug

Also debug the currently configured graph target values.
This commit is contained in:
Wim Taymans 2023-09-15 11:17:40 +02:00
parent e975cb16d3
commit 27f6ef119f

View file

@ -1501,8 +1501,10 @@ again:
n->target_rate = n->rt.position->clock.target_rate; n->target_rate = n->rt.position->clock.target_rate;
} }
pw_log_debug("%p: driver %p running:%d runnable:%d quantum:%u '%s'", pw_log_debug("%p: driver %p running:%d runnable:%d quantum:%u rate:%u (%"PRIu64"/%u)'%s'",
context, n, running, n->runnable, quantum, n->name); context, n, running, n->runnable, quantum, target_rate,
n->rt.position->clock.target_duration,
n->rt.position->clock.target_rate.denom, n->name);
/* first change the node states of the followers to the new target */ /* first change the node states of the followers to the new target */
spa_list_for_each(s, &n->follower_list, follower_link) { spa_list_for_each(s, &n->follower_list, follower_link) {