From 6fc02ca5e07617be54d9a0f4b269d4ebef4e6eb9 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Fri, 12 Jul 2019 10:26:44 +0200 Subject: [PATCH] move some debug to trace --- spa/plugins/audioconvert/audioadapter.c | 4 ++-- spa/plugins/audioconvert/audioconvert.c | 4 ++-- spa/plugins/audioconvert/merger.c | 2 +- src/modules/module-client-node/client-stream.c | 4 ++-- src/pipewire/link.c | 4 ++-- src/pipewire/work-queue.c | 2 +- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/spa/plugins/audioconvert/audioadapter.c b/spa/plugins/audioconvert/audioadapter.c index 1980bb3cf..f45939b04 100644 --- a/spa/plugins/audioconvert/audioadapter.c +++ b/spa/plugins/audioconvert/audioadapter.c @@ -301,7 +301,7 @@ static void convert_port_info(void *data, static void convert_result(void *data, int seq, int res, uint32_t type, const void *result) { struct impl *this = data; - spa_log_debug(this->log, NAME" %p: result %d %d", this, seq, res); + spa_log_trace(this->log, NAME" %p: result %d %d", this, seq, res); spa_node_emit_result(&this->hooks, seq, res, type, result); } @@ -378,7 +378,7 @@ static int impl_node_add_listener(void *object, spa_return_val_if_fail(this != NULL, -EINVAL); - spa_log_debug(this->log, NAME" %p: add listener %p", this, listener); + spa_log_trace(this->log, NAME" %p: add listener %p", this, listener); spa_hook_list_isolate(&this->hooks, &save, listener, events, data); emit_node_info(this, true); diff --git a/spa/plugins/audioconvert/audioconvert.c b/spa/plugins/audioconvert/audioconvert.c index a9e9620a5..fb81c4162 100644 --- a/spa/plugins/audioconvert/audioconvert.c +++ b/spa/plugins/audioconvert/audioconvert.c @@ -566,7 +566,7 @@ static int impl_node_send_command(void *object, const struct spa_command *comman static void on_node_result(void *data, int seq, int res, uint32_t type, const void *result) { struct impl *this = data; - spa_log_debug(this->log, "%p: result %d %d", this, seq, res); + spa_log_trace(this->log, "%p: result %d %d", this, seq, res); spa_node_emit_result(&this->hooks, seq, res, type, result); } @@ -620,7 +620,7 @@ impl_node_add_listener(void *object, spa_hook_list_isolate(&this->hooks, &save, listener, events, data); - spa_log_debug(this->log, "%p: add listener %p", this, listener); + spa_log_trace(this->log, "%p: add listener %p", this, listener); spa_zero(l); spa_node_add_listener(this->fmt[SPA_DIRECTION_INPUT], diff --git a/spa/plugins/audioconvert/merger.c b/spa/plugins/audioconvert/merger.c index 7ad855139..154334f8a 100644 --- a/spa/plugins/audioconvert/merger.c +++ b/spa/plugins/audioconvert/merger.c @@ -340,7 +340,7 @@ impl_node_add_listener(void *object, spa_return_val_if_fail(this != NULL, -EINVAL); - spa_log_debug(this->log, NAME" %p: add listener %p", this, listener); + spa_log_trace(this->log, NAME" %p: add listener %p", this, listener); spa_hook_list_isolate(&this->hooks, &save, listener, events, data); emit_node_info(this, true); diff --git a/src/modules/module-client-node/client-stream.c b/src/modules/module-client-node/client-stream.c index 4c4c15249..308906ccf 100644 --- a/src/modules/module-client-node/client-stream.c +++ b/src/modules/module-client-node/client-stream.c @@ -330,7 +330,7 @@ static void adapter_result(void *data, int seq, int res, uint32_t type, const vo { struct impl *impl = data; struct node *this = &impl->node; - pw_log_debug("%p: result %d %d", this, seq, res); + pw_log_trace("%p: result %d %d", this, seq, res); spa_node_emit_result(&this->hooks, seq, res, type, result); } @@ -1150,7 +1150,7 @@ static void client_node_result(void *data, int seq, int res, uint32_t type, cons { struct impl *impl = data; struct node *node = &impl->node; - pw_log_debug(NAME " %p: result %d %d", &impl->this, seq, res); + pw_log_trace(NAME " %p: result %d %d", &impl->this, seq, res); spa_node_emit_result(&node->hooks, seq, res, type, result); } diff --git a/src/pipewire/link.c b/src/pipewire/link.c index cdaa90220..95421c1e3 100644 --- a/src/pipewire/link.c +++ b/src/pipewire/link.c @@ -1086,7 +1086,7 @@ static void input_node_result(void *data, int seq, int res, uint32_t type, const struct impl *impl = data; struct pw_node *node = impl->this.input->node; if (SPA_RESULT_IS_ASYNC(seq)) { - pw_log_debug("link %p: input node %p result %d %d", impl, node, seq, res); + pw_log_trace("link %p: input node %p result %d %d", impl, node, seq, res); pw_work_queue_complete(impl->work, node, SPA_RESULT_ASYNC_SEQ(seq), res); } } @@ -1096,7 +1096,7 @@ static void output_node_result(void *data, int seq, int res, uint32_t type, cons struct impl *impl = data; struct pw_node *node = impl->this.output->node; if (SPA_RESULT_IS_ASYNC(seq)) { - pw_log_debug("link %p: output node %p result %d %d", impl, node, seq, res); + pw_log_trace("link %p: output node %p result %d %d", impl, node, seq, res); pw_work_queue_complete(impl->work, node, SPA_RESULT_ASYNC_SEQ(seq), res); } } diff --git a/src/pipewire/work-queue.c b/src/pipewire/work-queue.c index a83d1ac79..a2e44bbf6 100644 --- a/src/pipewire/work-queue.c +++ b/src/pipewire/work-queue.c @@ -253,7 +253,7 @@ int pw_work_queue_complete(struct pw_work_queue *queue, void *obj, uint32_t seq, } } if (!have_work) { - pw_log_debug("work-queue %p: no defered %d found for object %p", queue, seq, obj); + pw_log_trace("work-queue %p: no defered %d found for object %p", queue, seq, obj); return -EINVAL; }