audioconvert: SSE optimize delay and convolver

This commit is contained in:
Wim Taymans 2024-10-15 16:10:25 +02:00
parent 33fb2f04c7
commit 2c0ce6afc2
5 changed files with 115 additions and 69 deletions

View file

@ -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);