aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/hrtf.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-11-22 07:54:29 -0800
committerChris Robinson <[email protected]>2018-11-22 07:54:29 -0800
commit9c155a57fb37e3869f16e2f6502ee7d95d7d6a75 (patch)
tree268be0a8db18d013476b6e19dd6d60969a2b1e6c /Alc/hrtf.h
parentba8c865513d33019962a02e00ab496365de17abf (diff)
Use unique_ptr for DirectHrtfState
Diffstat (limited to 'Alc/hrtf.h')
-rw-r--r--Alc/hrtf.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Alc/hrtf.h b/Alc/hrtf.h
index d73faca7..1409ffa8 100644
--- a/Alc/hrtf.h
+++ b/Alc/hrtf.h
@@ -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 {