aboutsummaryrefslogtreecommitdiffstats
path: root/alc/panning.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'alc/panning.cpp')
-rw-r--r--alc/panning.cpp2
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;