diff options
author | Max Kellermann <max@duempel.org> | 2013-04-16 21:33:25 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-04-16 21:33:25 +0200 |
commit | cb8449a66dfa7503951d3c9a27a957918849ac57 (patch) | |
tree | 33d1af378739fb46d12569b03022697226f5b40f /src/MixerControl.hxx | |
parent | 621467717d93221a63c9234d4273d9629635c30f (diff) | |
download | mpd-cb8449a66dfa7503951d3c9a27a957918849ac57.tar.gz mpd-cb8449a66dfa7503951d3c9a27a957918849ac57.tar.xz mpd-cb8449a66dfa7503951d3c9a27a957918849ac57.zip |
MixerInternal: convert to class
Diffstat (limited to '')
-rw-r--r-- | src/MixerControl.hxx | 16 |
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 } |