mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04: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
|
|
@ -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++;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue