aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/mixer
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-11-16 20:32:19 -0800
committerChris Robinson <[email protected]>2018-11-16 20:32:19 -0800
commit53373a43b8984aea6a7e2107b264d208c00a5f53 (patch)
tree0d9326fd52f7818adc007f76acd452e3e6a03246 /Alc/mixer
parent317acd6ae2f110c76fd1e019a3066c8c45b64921 (diff)
Convert ALu.c to C++
Required changes to bsincgen to generate C++-friendly structures.
Diffstat (limited to 'Alc/mixer')
-rw-r--r--Alc/mixer/defs.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/Alc/mixer/defs.h b/Alc/mixer/defs.h
index acb8a8c2..46f70982 100644
--- a/Alc/mixer/defs.h
+++ b/Alc/mixer/defs.h
@@ -6,6 +6,10 @@
#include "alMain.h"
#include "alu.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
struct MixGains;
struct MixHrtfParams;
@@ -116,4 +120,8 @@ const ALfloat *Resample_bsinc_Neon(const InterpState *state, const ALfloat *REST
ALsizei frac, ALint increment, ALfloat *RESTRICT dst,
ALsizei dstlen);
+#ifdef __cplusplus
+} // extern "C"
+#endif
+
#endif /* MIXER_DEFS_H */