From 5d7a1fa6dadcce17b6c1a52f2fb9eccbcc96a530 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Mon, 30 Sep 2019 19:29:01 -0700 Subject: Clear the HRTF state values on allocation --- alc/hrtf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/alc/hrtf.h b/alc/hrtf.h index 456f710c..d133133a 100644 --- a/alc/hrtf.h +++ b/alc/hrtf.h @@ -80,7 +80,7 @@ struct HrtfFilter { struct DirectHrtfState { /* HRTF filter state for dry buffer content */ ALuint IrSize{0}; - alignas(16) HrirArray Values; + alignas(16) HrirArray Values{}; al::FlexArray Coeffs; DirectHrtfState(size_t numchans) : Coeffs{numchans} { } -- cgit v1.2.3