diff options
author | Chris Robinson <[email protected]> | 2019-09-30 19:29:01 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2019-09-30 19:29:01 -0700 |
commit | 5d7a1fa6dadcce17b6c1a52f2fb9eccbcc96a530 (patch) | |
tree | d04238748d425cb00d331afeedbb51b24ce93bb6 | |
parent | 4d127a2f9893a9c5b33f92224e0957a827484e07 (diff) |
Clear the HRTF state values on allocation
-rw-r--r-- | alc/hrtf.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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} { } |