diff options
author | Chris Robinson <[email protected]> | 2018-11-22 14:36:37 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-11-22 14:36:37 -0800 |
commit | 30ee6e1b3f3e859b10816234149795219c9108f9 (patch) | |
tree | b1a7588b10e96499510206d2ccc8983a8e5446f4 /Alc/hrtf.h | |
parent | d26b5d94677a7091d95972cbfd4337fb36a5e622 (diff) |
Make a DirectHrtfState constructor to try appeasing MSVC
Diffstat (limited to 'Alc/hrtf.h')
-rw-r--r-- | Alc/hrtf.h | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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() }; |