channelmix: do passthrough if identity

This commit is contained in:
Wim Taymans 2019-03-29 21:00:31 +01:00
parent d8e399dee9
commit 56158fbb62

View file

@ -216,8 +216,11 @@ static int setup_convert(struct impl *this,
if ((res = channelmix_init(&this->mix)) < 0) if ((res = channelmix_init(&this->mix)) < 0)
return res; return res;
spa_log_info(this->log, NAME " %p: got channelmix features %08x:%08x", spa_log_info(this->log, NAME " %p: got channelmix features %08x:%08x %d",
this, this->cpu_flags, this->mix.cpu_flags); this, this->cpu_flags, this->mix.cpu_flags,
this->mix.is_identity);
this->is_passthrough = this->mix.is_identity;
return 0; return 0;
} }