aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALu.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/ALu.c')
-rw-r--r--Alc/ALu.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/Alc/ALu.c b/Alc/ALu.c
index e5c44a96..7c5c676c 100644
--- a/Alc/ALu.c
+++ b/Alc/ALu.c
@@ -1814,8 +1814,7 @@ void aluMixData(ALCdevice *device, ALvoid *OutBuffer, ALsizei NumSamples)
SamplesToDo, Channels);
}
- /* Use NFCtrlData for temp value storage. */
- ApplyDistanceComp(Buffer, device->ChannelDelay, device->NFCtrlData,
+ ApplyDistanceComp(Buffer, device->ChannelDelay, device->TempBuffer[0],
SamplesToDo, Channels);
if(device->Limiter)