aboutsummaryrefslogtreecommitdiffstats
path: root/src/mixer_control.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-29 17:23:58 +0100
committerMax Kellermann <max@duempel.org>2013-01-29 17:23:58 +0100
commiteb8922f3468fe664211911c49077a4e3442b7703 (patch)
treede04b123e392464023d50d42cd9e9464ae58ec0a /src/mixer_control.h
parent84eb95466b49453b45cdfef5bed4364cf0d3a299 (diff)
downloadmpd-eb8922f3468fe664211911c49077a4e3442b7703.tar.gz
mpd-eb8922f3468fe664211911c49077a4e3442b7703.tar.xz
mpd-eb8922f3468fe664211911c49077a4e3442b7703.zip
test/{read_conf,run_filter}: convert to C++
Diffstat (limited to 'src/mixer_control.h')
-rw-r--r--src/mixer_control.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mixer_control.h b/src/mixer_control.h
index 307298e47..46219e5dd 100644
--- a/src/mixer_control.h
+++ b/src/mixer_control.h
@@ -33,6 +33,10 @@ struct mixer;
struct mixer_plugin;
struct config_param;
+#ifdef __cplusplus
+extern "C" {
+#endif
+
struct mixer *
mixer_new(const struct mixer_plugin *plugin, void *ao,
const struct config_param *param,
@@ -60,4 +64,8 @@ mixer_get_volume(struct mixer *mixer, GError **error_r);
bool
mixer_set_volume(struct mixer *mixer, unsigned volume, GError **error_r);
+#ifdef __cplusplus
+}
+#endif
+
#endif