aboutsummaryrefslogtreecommitdiffstats
path: root/src/mixer_control.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mixer_control.h')
-rw-r--r--src/mixer_control.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/mixer_control.h b/src/mixer_control.h
index 4f3a97dbc..b126d8c81 100644
--- a/src/mixer_control.h
+++ b/src/mixer_control.h
@@ -17,9 +17,39 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+/** \file
+ *
+ * Functions which manipulate a #mixer object.
+ */
+
#ifndef MPD_MIXER_CONTROL_H
#define MPD_MIXER_CONTROL_H
#include <stdbool.h>
+struct mixer;
+struct mixer_plugin;
+struct config_param;
+
+void
+mixer_disable_all(void);
+
+struct mixer *
+mixer_new(const struct mixer_plugin *plugin, const struct config_param *param);
+
+void
+mixer_free(struct mixer *mixer);
+
+bool
+mixer_open(struct mixer *mixer);
+
+void
+mixer_close(struct mixer *mixer);
+
+int
+mixer_get_volume(struct mixer *mixer);
+
+bool
+mixer_set_volume(struct mixer *mixer, unsigned volume);
+
#endif