diff options
Diffstat (limited to 'alc/voice.cpp')
-rw-r--r-- | alc/voice.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alc/voice.cpp b/alc/voice.cpp index 2639bcf8..5618f610 100644 --- a/alc/voice.cpp +++ b/alc/voice.cpp @@ -342,7 +342,7 @@ void DoHrtfMix(const float *samples, const uint DstBufferSize, DirectParams &par /* Source HRTF mixing needs to include the direct delay so it remains * aligned with the direct mix's HRTF filtering. */ - float2 *AccumSamples{Device->HrtfAccumData + HRTF_DIRECT_DELAY}; + float2 *AccumSamples{Device->HrtfAccumData + HrtfDirectDelay}; /* Copy the HRTF history and new input samples into a temp buffer. */ auto src_iter = std::copy(parms.Hrtf.History.begin(), parms.Hrtf.History.end(), |