aboutsummaryrefslogtreecommitdiffstats
path: root/src/mixer/PulseMixerPlugin.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/PulseMixerPlugin.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/PulseMixerPlugin.h (renamed from src/mixer/pulse_mixer_plugin.h)10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/mixer/pulse_mixer_plugin.h b/src/mixer/PulseMixerPlugin.h
index 461633d37..f432c44a0 100644
--- a/src/mixer/pulse_mixer_plugin.h
+++ b/src/mixer/PulseMixerPlugin.h
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2003-2011 The Music Player Daemon Project
+ * Copyright (C) 2003-2013 The Music Player Daemon Project
* http://www.musicpd.org
*
* This program is free software; you can redistribute it and/or modify
@@ -26,6 +26,10 @@ struct pulse_mixer;
struct pa_context;
struct pa_stream;
+#ifdef __cplusplus
+extern "C" {
+#endif
+
void
pulse_mixer_on_connect(struct pulse_mixer *pm, struct pa_context *context);
@@ -36,4 +40,8 @@ void
pulse_mixer_on_change(struct pulse_mixer *pm,
struct pa_context *context, struct pa_stream *stream);
+#ifdef __cplusplus
+}
+#endif
+
#endif