mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
parent
d62d2764e8
commit
5a307c11e1
9 changed files with 141 additions and 26 deletions
|
|
@ -544,11 +544,13 @@ int channelmix_init(struct channelmix *mix)
|
|||
if (info == NULL)
|
||||
return -ENOTSUP;
|
||||
|
||||
spa_log_debug(mix->log, "selected %s", info->name);
|
||||
|
||||
mix->free = impl_channelmix_free;
|
||||
mix->process = info->process;
|
||||
mix->set_volume = impl_channelmix_set_volume;
|
||||
mix->cpu_flags = info->cpu_flags;
|
||||
mix->delay = mix->rear_delay * mix->freq / 1000.0f;
|
||||
|
||||
spa_log_debug(mix->log, "selected %s delay:%d", info->name, mix->delay);
|
||||
|
||||
return make_matrix(mix);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue