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..fe24b85613 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 mute Whether to mute (= true) or not (= false).
+ * @param type the sound type
+ */
+ virtual void setMuteForSoundType(SoundType type, bool mute) = 0;
+
+ /**
+ * Query the mute state for a given sound type.
+ *
+ * @param type the sound type
+ */
+ virtual bool getMuteForSoundType(SoundType type) const = 0;
/**
* Set the channel volume for the given handle.