mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
channelmix: improve debug, add passthrough state
This commit is contained in:
parent
80a543e043
commit
50437029a3
1 changed files with 5 additions and 4 deletions
|
|
@ -294,12 +294,13 @@ static int setup_convert(struct impl *this,
|
||||||
|
|
||||||
emit_params_changed(this);
|
emit_params_changed(this);
|
||||||
|
|
||||||
spa_log_debug(this->log, NAME " %p: got channelmix features %08x:%08x flags:%08x",
|
|
||||||
this, this->cpu_flags, this->mix.cpu_flags,
|
|
||||||
this->mix.flags);
|
|
||||||
|
|
||||||
this->is_passthrough = SPA_FLAG_IS_SET(this->mix.flags, CHANNELMIX_FLAG_IDENTITY);
|
this->is_passthrough = SPA_FLAG_IS_SET(this->mix.flags, CHANNELMIX_FLAG_IDENTITY);
|
||||||
|
|
||||||
|
spa_log_debug(this->log, NAME " %p: got channelmix features %08x:%08x flags:%08x passthrough:%d",
|
||||||
|
this, this->cpu_flags, this->mix.cpu_flags,
|
||||||
|
this->mix.flags, this->is_passthrough);
|
||||||
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue