add some more debug

This commit is contained in:
Wim Taymans 2022-11-14 11:23:12 +01:00
parent bf8981ef61
commit b913f1b1a7
2 changed files with 6 additions and 0 deletions

View file

@ -1168,6 +1168,10 @@ again:
if (s->active) if (s->active)
running = !n->passive; running = !n->passive;
pw_log_debug("%p: follower %p running:%d passive:%d rate:%u/%u latency %u/%u '%s'",
context, s, running, s->passive, rate.num, rate.denom,
latency.num, latency.denom, s->name);
s->moved = false; s->moved = false;
} }

View file

@ -178,6 +178,8 @@ pw_context_load_module(struct pw_context *context,
NULL NULL
}; };
pw_log_info("%p: name:%s args:%s", context, name, args);
module_dir = getenv("PIPEWIRE_MODULE_DIR"); module_dir = getenv("PIPEWIRE_MODULE_DIR");
if (module_dir == NULL) { if (module_dir == NULL) {
module_dir = MODULEDIR; module_dir = MODULEDIR;