diff options
author | Chris Robinson <[email protected]> | 2018-11-14 04:15:44 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-11-14 04:15:44 -0800 |
commit | 3021a426c027fb88bf13b36ad825b9686001a5c9 (patch) | |
tree | 3f1bad723273dae81b932554bdab0f5ef39a408c /Alc/filters | |
parent | dfcb6d3e6df973d4d92b37f1d8decd833575d281 (diff) |
Convert ALc.c to C++
Diffstat (limited to 'Alc/filters')
-rw-r--r-- | Alc/filters/nfc.h | 8 |
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 */ |