aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/alu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/alu.cpp')
-rw-r--r--Alc/alu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/alu.cpp b/Alc/alu.cpp
index c67e8705..fc386908 100644
--- a/Alc/alu.cpp
+++ b/Alc/alu.cpp
@@ -119,7 +119,7 @@ void ProcessHrtf(ALCdevice *device, ALsizei SamplesToDo)
int ridx{GetChannelIdxByName(&device->RealOut, FrontRight)};
assert(lidx != -1 && ridx != -1);
- DirectHrtfState *state{device->mHrtfState};
+ DirectHrtfState *state{device->mHrtfState.get()};
for(ALsizei c{0};c < device->Dry.NumChannels;c++)
{
MixDirectHrtf(device->RealOut.Buffer[lidx], device->RealOut.Buffer[ridx],