aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/panning.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-12-05 15:38:05 -0800
committerChris Robinson <[email protected]>2018-12-05 15:38:05 -0800
commite60d0886d070caa2dd82ef8ae1294d8dda77b745 (patch)
tree30be4920a5415a1dc982fd54342f2cb38b7d4909 /Alc/panning.cpp
parent10b39d57d53b541bd4e8fd60d166a03de0c9e28c (diff)
Use class methods for BandSplitter and SplitterAllpass filters
Diffstat (limited to 'Alc/panning.cpp')
-rw-r--r--Alc/panning.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/panning.cpp b/Alc/panning.cpp
index 7b5a6674..d8909fda 100644
--- a/Alc/panning.cpp
+++ b/Alc/panning.cpp
@@ -1031,11 +1031,11 @@ void aluInitRenderer(ALCdevice *device, ALint hrtf_id, enum HrtfRequestMode hrtf
ALfloat scale = (ALfloat)(5000.0 / device->Frequency);
std::unique_ptr<FrontStablizer> stablizer{new FrontStablizer{}};
- bandsplit_init(&stablizer->LFilter, scale);
+ stablizer->LFilter.init(scale);
stablizer->RFilter = stablizer->LFilter;
/* Initialize all-pass filters for all other channels. */
- splitterap_init(&stablizer->APFilter[0], scale);
+ stablizer->APFilter[0].init(scale);
for(i = 1;i < (size_t)device->RealOut.NumChannels;i++)
stablizer->APFilter[i] = stablizer->APFilter[0];