diff options
author | Chris Robinson <[email protected]> | 2018-11-03 19:02:11 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-11-03 19:05:23 -0700 |
commit | 4bfaa173c41076051b63aee85ab20572fdce46c2 (patch) | |
tree | f271ecd1f1166b5dab764d918176d308a2761a63 /Alc/hrtf.h | |
parent | ba5ec8b0741398272ec52f0177e17ee776226f73 (diff) |
Convert panning.c to C++
Diffstat (limited to 'Alc/hrtf.h')
-rw-r--r-- | Alc/hrtf.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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 */ |