aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/filters
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-11-14 04:15:44 -0800
committerChris Robinson <[email protected]>2018-11-14 04:15:44 -0800
commit3021a426c027fb88bf13b36ad825b9686001a5c9 (patch)
tree3f1bad723273dae81b932554bdab0f5ef39a408c /Alc/filters
parentdfcb6d3e6df973d4d92b37f1d8decd833575d281 (diff)
Convert ALc.c to C++
Diffstat (limited to 'Alc/filters')
-rw-r--r--Alc/filters/nfc.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/Alc/filters/nfc.h b/Alc/filters/nfc.h
index e02c00d8..d59280d0 100644
--- a/Alc/filters/nfc.h
+++ b/Alc/filters/nfc.h
@@ -1,6 +1,10 @@
#ifndef FILTER_NFC_H
#define FILTER_NFC_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
struct NfcFilter1 {
float base_gain, gain;
float b1, a1;
@@ -46,4 +50,8 @@ void NfcFilterProcess2(NfcFilter *nfc, float *RESTRICT dst, const float *RESTRIC
/* Near-field control filter for third-order ambisonic channels (9-15). */
void NfcFilterProcess3(NfcFilter *nfc, float *RESTRICT dst, const float *RESTRICT src, const int count);
+#ifdef __cplusplus
+} // extern "C"
+#endif
+
#endif /* FILTER_NFC_H */