aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2019-09-30 19:29:01 -0700
committerChris Robinson <[email protected]>2019-09-30 19:29:01 -0700
commit5d7a1fa6dadcce17b6c1a52f2fb9eccbcc96a530 (patch)
treed04238748d425cb00d331afeedbb51b24ce93bb6
parent4d127a2f9893a9c5b33f92224e0957a827484e07 (diff)
Clear the HRTF state values on allocation
-rw-r--r--alc/hrtf.h2
1 files changed, 1 insertions, 1 deletions
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<HrirArray,16> Coeffs;
DirectHrtfState(size_t numchans) : Coeffs{numchans} { }