aboutsummaryrefslogtreecommitdiffstats
path: root/src/mixer_api.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/mixer_api.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mixer_api.h b/src/mixer_api.h
index 29c1e00ca..f0c9a0937 100644
--- a/src/mixer_api.h
+++ b/src/mixer_api.h
@@ -46,7 +46,15 @@ struct mixer {
bool failed;
};
+#ifdef __cplusplus
+extern "C" {
+#endif
+
void
mixer_init(struct mixer *mixer, const struct mixer_plugin *plugin);
+#ifdef __cplusplus
+}
+#endif
+
#endif