mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
audioconvert: add some more debug
This commit is contained in:
parent
8ee9a7b5e5
commit
22fe0b293a
3 changed files with 13 additions and 2 deletions
|
|
@ -584,6 +584,8 @@ static void fmt_input_port_info(void *data,
|
|||
if (this->fmt_removing[direction])
|
||||
info = NULL;
|
||||
|
||||
spa_log_debug(this->log, "%p: %d.%d info", this, direction, port);
|
||||
|
||||
if (direction == SPA_DIRECTION_INPUT ||
|
||||
IS_MONITOR_PORT(this, direction, port))
|
||||
spa_node_emit_port_info(&this->hooks, direction, port, info);
|
||||
|
|
@ -604,6 +606,8 @@ static void fmt_output_port_info(void *data,
|
|||
if (this->fmt_removing[direction])
|
||||
info = NULL;
|
||||
|
||||
spa_log_debug(this->log, "%p: %d.%d info", this, direction, port);
|
||||
|
||||
if (direction == SPA_DIRECTION_OUTPUT)
|
||||
spa_node_emit_port_info(&this->hooks, direction, port, info);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -935,7 +935,7 @@ static int port_set_latency(void *object,
|
|||
enum spa_direction other = SPA_DIRECTION_REVERSE(direction);
|
||||
uint32_t i;
|
||||
|
||||
spa_log_debug(this->log, NAME " %p: set latency", this);
|
||||
spa_log_debug(this->log, NAME " %p: set latency direction:%d", this, direction);
|
||||
|
||||
if (latency == NULL) {
|
||||
this->latency[other] = SPA_LATENCY_INFO(other);
|
||||
|
|
@ -1071,6 +1071,9 @@ impl_node_port_set_param(void *object,
|
|||
|
||||
spa_return_val_if_fail(this != NULL, -EINVAL);
|
||||
|
||||
spa_log_debug(this->log, "%p: set param port %d.%d %u",
|
||||
this, direction, port_id, id);
|
||||
|
||||
spa_return_val_if_fail(CHECK_PORT(this, direction, port_id), -EINVAL);
|
||||
|
||||
switch (id) {
|
||||
|
|
|
|||
|
|
@ -694,7 +694,7 @@ static int port_set_latency(void *object,
|
|||
enum spa_direction other = SPA_DIRECTION_REVERSE(direction);
|
||||
uint32_t i;
|
||||
|
||||
spa_log_debug(this->log, NAME " %p: set latency", this);
|
||||
spa_log_debug(this->log, NAME " %p: set latency direction:%d", this, direction);
|
||||
|
||||
if (latency == NULL) {
|
||||
this->latency[other] = SPA_LATENCY_INFO(other);
|
||||
|
|
@ -813,6 +813,10 @@ impl_node_port_set_param(void *object,
|
|||
struct impl *this = object;
|
||||
|
||||
spa_return_val_if_fail(this != NULL, -EINVAL);
|
||||
|
||||
spa_log_debug(this->log, "%p: set param port %d.%d %u",
|
||||
this, direction, port_id, id);
|
||||
|
||||
spa_return_val_if_fail(CHECK_PORT(this, direction, port_id), -EINVAL);
|
||||
|
||||
switch (id) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue