audioconvert: add some more debug

This commit is contained in:
Wim Taymans 2021-06-24 12:11:38 +02:00
parent 8ee9a7b5e5
commit 22fe0b293a
3 changed files with 13 additions and 2 deletions

View file

@ -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);
}