aboutsummaryrefslogtreecommitdiffstats
path: root/src/mixer_all.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mixer_all.h')
-rw-r--r--src/mixer_all.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/mixer_all.h b/src/mixer_all.h
index e7c9eecc8..ebe8fed68 100644
--- a/src/mixer_all.h
+++ b/src/mixer_all.h
@@ -43,4 +43,20 @@ mixer_all_get_volume(void);
bool
mixer_all_set_volume(unsigned volume);
+/**
+ * Similar to mixer_all_get_volume(), but gets the volume only for
+ * software mixers. See #software_mixer_plugin. This function fails
+ * if no software mixer is configured.
+ */
+int
+mixer_all_get_software_volume(void);
+
+/**
+ * Similar to mixer_all_set_volume(), but sets the volume only for
+ * software mixers. See #software_mixer_plugin. This function cannot
+ * fail, because the underlying software mixers cannot fail either.
+ */
+void
+mixer_all_set_software_volume(unsigned volume);
+
#endif