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

@ -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) {