mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
audioconvert: SSE optimize delay and convolver
This commit is contained in:
parent
33fb2f04c7
commit
2c0ce6afc2
5 changed files with 115 additions and 69 deletions
|
|
@ -775,6 +775,7 @@ int channelmix_init(struct channelmix *mix)
|
|||
mix->delay = (uint32_t)(mix->rear_delay * mix->freq / 1000.0f);
|
||||
mix->func_name = info->name;
|
||||
|
||||
spa_zero(mix->taps);
|
||||
if (mix->hilbert_taps > 0) {
|
||||
mix->n_taps = SPA_CLAMP(mix->hilbert_taps, 15u, MAX_TAPS) | 1;
|
||||
blackman_window(mix->taps, mix->n_taps);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue