audioconvert: improve debug

This commit is contained in:
Wim Taymans 2019-05-14 18:05:51 +02:00
parent e6c42d3324
commit 5858c992ef
2 changed files with 4 additions and 2 deletions

View file

@ -187,7 +187,8 @@ static int init_port(struct impl *this, enum spa_direction direction, uint32_t p
port->format.info.raw.position[0] = position; port->format.info.raw.position[0] = position;
spa_list_init(&port->queue); spa_list_init(&port->queue);
spa_log_debug(this->log, NAME " %p: add port %d", this, port_id); spa_log_debug(this->log, NAME " %p: add port %d rate:%d position:%s",
this, port_id, rate, port->position);
emit_port_info(this, port, true); emit_port_info(this, port, true);
return 0; return 0;

View file

@ -182,7 +182,8 @@ static int init_port(struct impl *this, enum spa_direction direction,
port->format.info.raw.channels = 1; port->format.info.raw.channels = 1;
port->format.info.raw.position[0] = position; port->format.info.raw.position[0] = position;
spa_log_debug(this->log, NAME " %p: init port %d %s", this, port_id, port->position); spa_log_debug(this->log, NAME " %p: init port %d rate:%d position:%s",
this, port_id, rate, port->position);
emit_port_info(this, port, true); emit_port_info(this, port, true);
return 0; return 0;