From 27f6ef119f7578ca07891147c6cdb152818df9db Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Fri, 15 Sep 2023 11:17:40 +0200 Subject: [PATCH] context: add some more debug Also debug the currently configured graph target values. --- src/pipewire/context.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/pipewire/context.c b/src/pipewire/context.c index c8c48a14c..ab137aa35 100644 --- a/src/pipewire/context.c +++ b/src/pipewire/context.c @@ -1501,8 +1501,10 @@ again: n->target_rate = n->rt.position->clock.target_rate; } - pw_log_debug("%p: driver %p running:%d runnable:%d quantum:%u '%s'", - context, n, running, n->runnable, quantum, n->name); + pw_log_debug("%p: driver %p running:%d runnable:%d quantum:%u rate:%u (%"PRIu64"/%u)'%s'", + 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 */ spa_list_for_each(s, &n->follower_list, follower_link) {