Make a DirectHrtfState constructor to try appeasing MSVC

This commit is contained in:
Chris Robinson 2018-11-22 14:36:37 -08:00
parent d26b5d9467
commit 30ee6e1b3f

View File

@ -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()
};