Clear the HRTF state values on allocation

This commit is contained in:
Chris Robinson
2019-09-30 19:29:01 -07:00
parent 4d127a2f98
commit 5d7a1fa6da
+1 -1
View File
@@ -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<HrirArray,16> Coeffs;
DirectHrtfState(size_t numchans) : Coeffs{numchans} { }