diff options
author | Chris Robinson <[email protected]> | 2022-08-07 13:09:12 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2022-08-07 13:09:12 -0700 |
commit | 250f1624964c2c53e00d18fd1ec2bbc77c860298 (patch) | |
tree | c126c955a8871031d5da6d3c79fa4e7d380cc3e1 /alc/panning.cpp | |
parent | b77a556d7b7d1a66db4dcde0b77ea5d704254c13 (diff) |
Parameterize the UHJ filter length
Diffstat (limited to 'alc/panning.cpp')
-rw-r--r-- | alc/panning.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alc/panning.cpp b/alc/panning.cpp index 113ea280..22688bc9 100644 --- a/alc/panning.cpp +++ b/alc/panning.cpp @@ -1093,7 +1093,7 @@ void aluInitRenderer(ALCdevice *device, int hrtf_id, al::optional<StereoEncoding if(stereomode.value_or(StereoEncoding::Default) == StereoEncoding::Uhj) { - device->mUhjEncoder = std::make_unique<UhjEncoder>(); + device->mUhjEncoder = std::make_unique<UhjEncoder<UhjLengthStd>>(); TRACE("UHJ enabled\n"); InitUhjPanning(device); device->PostProcess = &ALCdevice::ProcessUhj; |