aboutsummaryrefslogtreecommitdiffstats
path: root/al/filter.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2020-03-23 16:00:50 -0700
committerChris Robinson <[email protected]>2020-03-23 16:00:50 -0700
commit6a3b3b180b7138e1ea1c9a2e345747e69d664411 (patch)
tree63facb74da575ac03a828d8f56f03cb5513d34f2 /al/filter.h
parentb53294e291c0e00b94639527ae84d03037029f1a (diff)
Add a macro to disable class-specific new/delete
Diffstat (limited to 'al/filter.h')
-rw-r--r--al/filter.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/al/filter.h b/al/filter.h
index db098d70..48906dd9 100644
--- a/al/filter.h
+++ b/al/filter.h
@@ -4,6 +4,8 @@
#include "AL/al.h"
#include "AL/alc.h"
+#include "almalloc.h"
+
#define LOWPASSFREQREF (5000.0f)
#define HIGHPASSFREQREF (250.0f)
@@ -43,6 +45,8 @@ struct ALfilter {
/* Self ID */
ALuint id;
+
+ DISABLE_ALLOC()
};
#define ALfilter_setParami(o, c, p, v) ((o)->vtab->setParami(o, c, p, v))
#define ALfilter_setParamf(o, c, p, v) ((o)->vtab->setParamf(o, c, p, v))