aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/hrtf.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-11-03 19:02:11 -0700
committerChris Robinson <[email protected]>2018-11-03 19:05:23 -0700
commit4bfaa173c41076051b63aee85ab20572fdce46c2 (patch)
treef271ecd1f1166b5dab764d918176d308a2761a63 /Alc/hrtf.h
parentba5ec8b0741398272ec52f0177e17ee776226f73 (diff)
Convert panning.c to C++
Diffstat (limited to 'Alc/hrtf.h')
-rw-r--r--Alc/hrtf.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/Alc/hrtf.h b/Alc/hrtf.h
index dab6a28e..1cdfe568 100644
--- a/Alc/hrtf.h
+++ b/Alc/hrtf.h
@@ -9,6 +9,10 @@
#include "atomic.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#define HRTF_HISTORY_BITS (6)
#define HRTF_HISTORY_LENGTH (1<<HRTF_HISTORY_BITS)
#define HRTF_HISTORY_MASK (HRTF_HISTORY_LENGTH-1)
@@ -81,4 +85,8 @@ void GetHrtfCoeffs(const struct Hrtf *Hrtf, ALfloat elevation, ALfloat azimuth,
*/
void BuildBFormatHrtf(const struct Hrtf *Hrtf, DirectHrtfState *state, ALsizei NumChannels, const struct AngularPoint *AmbiPoints, const ALfloat (*RESTRICT AmbiMatrix)[MAX_AMBI_COEFFS], ALsizei AmbiCount, const ALfloat *RESTRICT AmbiOrderHFGain);
+#ifdef __cplusplus
+} // extern "C"
+#endif
+
#endif /* ALC_HRTF_H */