aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
Diffstat (limited to 'Alc')
-rw-r--r--Alc/hrtf.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/Alc/hrtf.h b/Alc/hrtf.h
index 1409ffa8..cbec2fc7 100644
--- a/Alc/hrtf.h
+++ b/Alc/hrtf.h
@@ -50,13 +50,15 @@ struct HrtfParams {
struct DirectHrtfState {
/* HRTF filter state for dry buffer content */
- ALsizei Offset;
- ALsizei IrSize;
+ ALsizei Offset{0};
+ ALsizei IrSize{0};
struct {
alignas(16) ALfloat Values[HRIR_LENGTH][2];
alignas(16) ALfloat Coeffs[HRIR_LENGTH][2];
} Chan[];
+ DirectHrtfState() noexcept { }
+
DEF_PLACE_NEWDEL()
};