audioconvert: optimize lr4 handling

Make an SSE optimized LR4 function and one that handles 2 LR4s in
parallel.
This commit is contained in:
Wim Taymans 2024-10-15 12:20:04 +02:00
parent fec3730489
commit ad84c45c0c
7 changed files with 160 additions and 59 deletions

View file

@ -673,7 +673,7 @@ done:
spa_log_info(mix->log, "channel %d is FC cutoff:%f", ic, mix->fc_cutoff);
lr4_set(&mix->lr4[ic], BQ_LOWPASS, mix->fc_cutoff / mix->freq);
} else {
mix->lr4[ic].active = false;
lr4_set(&mix->lr4[ic], BQ_NONE, mix->fc_cutoff / mix->freq);
}
ic++;
}