aboutsummaryrefslogtreecommitdiffstats
path: root/alc/hrtf.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'alc/hrtf.cpp')
-rw-r--r--alc/hrtf.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/alc/hrtf.cpp b/alc/hrtf.cpp
index ac1a19e1..5df15859 100644
--- a/alc/hrtf.cpp
+++ b/alc/hrtf.cpp
@@ -355,7 +355,7 @@ void BuildBFormatHrtf(const HrtfEntry *Hrtf, DirectHrtfState *state,
/* Calculate the blended HRIR coefficients. */
double *coeffout{al::assume_aligned<16>(&res.hrir[0][0])};
- std::fill(coeffout, coeffout + irSize*2, 0.0);
+ std::fill(coeffout, coeffout + HRIR_LENGTH*2, 0.0);
for(ALsizei c{0};c < 4;c++)
{
const ALfloat *srccoeffs{al::assume_aligned<16>(Hrtf->coeffs[idx[c]*irSize])};