diff options
author | Max Kellermann <max@duempel.org> | 2013-01-09 22:25:24 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-01-09 22:25:24 +0100 |
commit | d3e1b72d381dc7dd01926188b6d62729788b76b9 (patch) | |
tree | ebea31783d45b5f5a8e8e99d3e50c315af3b9e8f /src/output | |
parent | b5e1bd5705842fe73bbb12e5ff771e42e10cb004 (diff) | |
download | mpd-d3e1b72d381dc7dd01926188b6d62729788b76b9.tar.gz mpd-d3e1b72d381dc7dd01926188b6d62729788b76b9.tar.xz mpd-d3e1b72d381dc7dd01926188b6d62729788b76b9.zip |
mixer/{alsa,pulse}: convert to C++
Diffstat (limited to 'src/output')
-rw-r--r-- | src/output/pulse_output_plugin.c | 2 | ||||
-rw-r--r-- | src/output/pulse_output_plugin.h | 8 |
2 files changed, 9 insertions, 1 deletions
diff --git a/src/output/pulse_output_plugin.c b/src/output/pulse_output_plugin.c index e267427df..457fa9f04 100644 --- a/src/output/pulse_output_plugin.c +++ b/src/output/pulse_output_plugin.c @@ -21,7 +21,7 @@ #include "pulse_output_plugin.h" #include "output_api.h" #include "mixer_list.h" -#include "mixer/pulse_mixer_plugin.h" +#include "mixer/PulseMixerPlugin.h" #include <glib.h> diff --git a/src/output/pulse_output_plugin.h b/src/output/pulse_output_plugin.h index b285b5e4d..bcc8004a7 100644 --- a/src/output/pulse_output_plugin.h +++ b/src/output/pulse_output_plugin.h @@ -30,6 +30,10 @@ struct pa_cvolume; extern const struct audio_output_plugin pulse_output_plugin; +#ifdef __cplusplus +extern "C" { +#endif + void pulse_output_lock(struct pulse_output *po); @@ -46,4 +50,8 @@ bool pulse_output_set_volume(struct pulse_output *po, const struct pa_cvolume *volume, GError **error_r); +#ifdef __cplusplus +} +#endif + #endif |