aboutsummaryrefslogtreecommitdiff
path: root/audio/mixer.h
diff options
context:
space:
mode:
Diffstat (limited to 'audio/mixer.h')
-rw-r--r--audio/mixer.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/audio/mixer.h b/audio/mixer.h
index a048124ca3..89b50e550f 100644
--- a/audio/mixer.h
+++ b/audio/mixer.h
@@ -197,6 +197,20 @@ public:
virtual bool isSoundHandleActive(SoundHandle handle) = 0;
+ /**
+ * Set the mute state for a given sound type.
+ *
+ * @param type the sound type
+ * @param mute Whether to mute (= true) or not (= false).
+ */
+ virtual void muteSoundType(SoundType type, bool mute) = 0;
+
+ /**
+ * Query the mute state for a given sound type.
+ *
+ * @param type the sound type
+ */
+ virtual bool isSoundTypeMuted(SoundType type) const = 0;
/**
* Set the channel volume for the given handle.