aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/mastering.h
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/mastering.h
parentdfcb6d3e6df973d4d92b37f1d8decd833575d281 (diff)
Convert ALc.c to C++
Diffstat (limited to 'Alc/mastering.h')
-rw-r--r--Alc/mastering.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/Alc/mastering.h b/Alc/mastering.h
index 17f5e8be..7738a4aa 100644
--- a/Alc/mastering.h
+++ b/Alc/mastering.h
@@ -6,6 +6,10 @@
/* For BUFFERSIZE. */
#include "alMain.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
struct Compressor;
/* The compressor is initialized with the following settings:
@@ -46,4 +50,8 @@ void ApplyCompression(struct Compressor *Comp, const ALsizei SamplesToDo,
ALsizei GetCompressorLookAhead(const struct Compressor *Comp);
+#ifdef __cplusplus
+} // extern "C"
+#endif
+
#endif /* MASTERING_H */