mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
channelmix: do passthrough if identity
This commit is contained in:
parent
d8e399dee9
commit
56158fbb62
1 changed files with 5 additions and 2 deletions
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue