From 2f0292858009f1933a3b6f29c50cd2c7a2b717c6 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Thu, 10 Sep 2020 13:04:56 +0200 Subject: [PATCH] pulse: add more debug --- pipewire-pulseaudio/src/context.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pipewire-pulseaudio/src/context.c b/pipewire-pulseaudio/src/context.c index 41b8d568d..947c8ab28 100644 --- a/pipewire-pulseaudio/src/context.c +++ b/pipewire-pulseaudio/src/context.c @@ -1734,6 +1734,9 @@ static void on_notify(pa_operation *o, void *userdata) { struct notify_data *d = userdata; pa_context *c = o->context; + + pw_log_debug("%p", c); + if (d->cb) d->cb(c, d->userdata); pa_operation_done(o); @@ -1786,7 +1789,7 @@ static void do_default_node(pa_operation *o, void *userdata) struct global *g; int error = 0; - pw_log_debug("%p", c); + pw_log_debug("%p mask:%d name:%s", c, d->mask, d->name); g = pa_context_find_global_by_name(c, d->mask, d->name); if (g == NULL) {