aboutsummaryrefslogtreecommitdiffstats
path: root/src/mixer_api.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-09 22:25:24 +0100
committerMax Kellermann <max@duempel.org>2013-01-09 22:25:24 +0100
commitd3e1b72d381dc7dd01926188b6d62729788b76b9 (patch)
treeebea31783d45b5f5a8e8e99d3e50c315af3b9e8f /src/mixer_api.h
parentb5e1bd5705842fe73bbb12e5ff771e42e10cb004 (diff)
downloadmpd-d3e1b72d381dc7dd01926188b6d62729788b76b9.tar.gz
mpd-d3e1b72d381dc7dd01926188b6d62729788b76b9.tar.xz
mpd-d3e1b72d381dc7dd01926188b6d62729788b76b9.zip
mixer/{alsa,pulse}: convert to C++
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