aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/hrtf.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-11-22 14:36:37 -0800
committerChris Robinson <[email protected]>2018-11-22 14:36:37 -0800
commit30ee6e1b3f3e859b10816234149795219c9108f9 (patch)
treeb1a7588b10e96499510206d2ccc8983a8e5446f4 /Alc/hrtf.h
parentd26b5d94677a7091d95972cbfd4337fb36a5e622 (diff)
Make a DirectHrtfState constructor to try appeasing MSVC
Diffstat (limited to 'Alc/hrtf.h')
-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()
};