aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
Diffstat (limited to 'Alc')
-rw-r--r--Alc/filters/splitter.cpp (renamed from Alc/filters/splitter.c)0
-rw-r--r--Alc/filters/splitter.h7
2 files changed, 7 insertions, 0 deletions
diff --git a/Alc/filters/splitter.c b/Alc/filters/splitter.cpp
index 6aed7493..6aed7493 100644
--- a/Alc/filters/splitter.c
+++ b/Alc/filters/splitter.cpp
diff --git a/Alc/filters/splitter.h b/Alc/filters/splitter.h
index b2dc9b4a..a996917c 100644
--- a/Alc/filters/splitter.h
+++ b/Alc/filters/splitter.h
@@ -3,6 +3,9 @@
#include "alMain.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
/* Band splitter. Splits a signal into two phase-matching frequency bands. */
typedef struct BandSplitter {
@@ -37,4 +40,8 @@ typedef struct FrontStablizer {
alignas(16) ALfloat RSplit[2][BUFFERSIZE];
} FrontStablizer;
+#ifdef __cplusplus
+} // extern "C"
+#endif
+
#endif /* FILTER_SPLITTER_H */