aboutsummaryrefslogtreecommitdiffstats
path: root/src/MixerControl.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-04-16 21:33:25 +0200
committerMax Kellermann <max@duempel.org>2013-04-16 21:33:25 +0200
commitcb8449a66dfa7503951d3c9a27a957918849ac57 (patch)
tree33d1af378739fb46d12569b03022697226f5b40f /src/MixerControl.hxx
parent621467717d93221a63c9234d4273d9629635c30f (diff)
downloadmpd-cb8449a66dfa7503951d3c9a27a957918849ac57.tar.gz
mpd-cb8449a66dfa7503951d3c9a27a957918849ac57.tar.xz
mpd-cb8449a66dfa7503951d3c9a27a957918849ac57.zip
MixerInternal: convert to class
Diffstat (limited to 'src/MixerControl.hxx')
-rw-r--r--src/MixerControl.hxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/MixerControl.hxx b/src/MixerControl.hxx
index ee1e959da..1e01e111a 100644
--- a/src/MixerControl.hxx
+++ b/src/MixerControl.hxx
@@ -27,7 +27,7 @@
#include "gerror.h"
-struct mixer;
+class Mixer;
struct mixer_plugin;
struct config_param;
@@ -35,32 +35,32 @@ struct config_param;
extern "C" {
#endif
-struct mixer *
+Mixer *
mixer_new(const struct mixer_plugin *plugin, void *ao,
const struct config_param *param,
GError **error_r);
void
-mixer_free(struct mixer *mixer);
+mixer_free(Mixer *mixer);
bool
-mixer_open(struct mixer *mixer, GError **error_r);
+mixer_open(Mixer *mixer, GError **error_r);
void
-mixer_close(struct mixer *mixer);
+mixer_close(Mixer *mixer);
/**
* Close the mixer unless the plugin's "global" flag is set. This is
* called when the #audio_output is closed.
*/
void
-mixer_auto_close(struct mixer *mixer);
+mixer_auto_close(Mixer *mixer);
int
-mixer_get_volume(struct mixer *mixer, GError **error_r);
+mixer_get_volume(Mixer *mixer, GError **error_r);
bool
-mixer_set_volume(struct mixer *mixer, unsigned volume, GError **error_r);
+mixer_set_volume(Mixer *mixer, unsigned volume, GError **error_r);
#ifdef __cplusplus
}