mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-22 06:59:54 -05:00
lfe-filter: Enable LFE filter in the resampler
When enable-lfe-remixing is set, an LFE channel is present in the resampler's destination channel map but not in the source channel map, we insert a low-pass filter instead of just averaging the channels. Other channels will get a high-pass filter. In this patch, the crossover frequency is hardcoded to 120Hz (to be fixed in later patches). Note that in current state the LFE filter is - not very optimised - not rewind friendly (rewinding can cause audible artifacts) Signed-off-by: David Henningsson <david.henningsson@canonical.com>
This commit is contained in:
parent
f3ebf6b667
commit
979f19a434
7 changed files with 266 additions and 6 deletions
|
|
@ -911,6 +911,9 @@ lib_LTLIBRARIES += libpulsecore-@PA_MAJORMINOR@.la
|
|||
|
||||
# Pure core stuff
|
||||
libpulsecore_@PA_MAJORMINOR@_la_SOURCES = \
|
||||
pulsecore/filter/lfe-filter.c pulsecore/filter/lfe-filter.h \
|
||||
pulsecore/filter/biquad.c pulsecore/filter/biquad.h \
|
||||
pulsecore/filter/crossover.c pulsecore/filter/crossover.h \
|
||||
pulsecore/asyncmsgq.c pulsecore/asyncmsgq.h \
|
||||
pulsecore/asyncq.c pulsecore/asyncq.h \
|
||||
pulsecore/auth-cookie.c pulsecore/auth-cookie.h \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue