aboutsummaryrefslogtreecommitdiffstats
path: root/src/mixer_plugin.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/mixer_plugin.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mixer_plugin.h b/src/mixer_plugin.h
index 8e9bb5804..2b9b440e5 100644
--- a/src/mixer_plugin.h
+++ b/src/mixer_plugin.h
@@ -68,6 +68,13 @@ struct mixer_plugin {
* @return true on success
*/
bool (*set_volume)(struct mixer *mixer, unsigned volume);
+
+ /**
+ * If true, then the mixer is automatically opened, even if
+ * its audio output is not open. If false, then the mixer is
+ * disabled as long as its audio output is closed.
+ */
+ bool global;
};
#endif