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.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mixer_control.h b/src/mixer_control.h
index b126d8c81..0f73e8f75 100644
--- a/src/mixer_control.h
+++ b/src/mixer_control.h
@@ -46,6 +46,13 @@ mixer_open(struct mixer *mixer);
void
mixer_close(struct 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);
+
int
mixer_get_volume(struct mixer *mixer);