aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALu.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-01-09 22:01:46 -0800
committerChris Robinson <[email protected]>2018-01-09 22:01:46 -0800
commit9e2eb5dc231d835bf78a7225b6b0def74d0220ef (patch)
treeb3ee84e409790e4b930ca40ca7109cbddfc83eb8 /Alc/ALu.c
parent5d1207104ae4bb1a20ccf72bcdf6b3406c0db6ff (diff)
Rename the device's temp buffer storage to be more generic
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)