mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-10 13:30:05 -05:00
audioconvert: optimize lr4 handling
Make an SSE optimized LR4 function and one that handles 2 LR4s in parallel.
This commit is contained in:
parent
fec3730489
commit
ad84c45c0c
7 changed files with 160 additions and 59 deletions
|
|
@ -101,6 +101,9 @@ void biquad_set(struct biquad *bq, enum biquad_type type, double freq)
|
|||
{
|
||||
|
||||
switch (type) {
|
||||
case BQ_NONE:
|
||||
set_coefficient(bq, 1, 0, 0, 1, 0, 0);
|
||||
break;
|
||||
case BQ_LOWPASS:
|
||||
biquad_lowpass(bq, freq);
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue