diff options
author | Chris Robinson <[email protected]> | 2018-11-22 07:54:29 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-11-22 07:54:29 -0800 |
commit | 9c155a57fb37e3869f16e2f6502ee7d95d7d6a75 (patch) | |
tree | 268be0a8db18d013476b6e19dd6d60969a2b1e6c /Alc/hrtf.h | |
parent | ba8c865513d33019962a02e00ab496365de17abf (diff) |
Use unique_ptr for DirectHrtfState
Diffstat (limited to 'Alc/hrtf.h')
-rw-r--r-- | Alc/hrtf.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -7,6 +7,7 @@ #include "alMain.h" #include "atomic.h" #include "vector.h" +#include "almalloc.h" #define HRTF_HISTORY_BITS (6) @@ -55,6 +56,8 @@ struct DirectHrtfState { alignas(16) ALfloat Values[HRIR_LENGTH][2]; alignas(16) ALfloat Coeffs[HRIR_LENGTH][2]; } Chan[]; + + DEF_PLACE_NEWDEL() }; struct AngularPoint { |