summaryrefslogtreecommitdiff
path: root/src/mixer.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2014-10-01 15:32:02 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2014-10-01 15:32:02 +0200
commit3922f1c36f8d8e60f8537bcaead0422129ec58dd (patch)
tree03bcb9b8007bd4035d34df1c871ada35e81aede5 /src/mixer.h
parent797be2357ee7062ec6939cd4406fadfd27e1af2e (diff)
Add mute/unmute functions. REflect new functionality in aiomixer.
Diffstat (limited to 'src/mixer.h')
-rw-r--r--src/mixer.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/mixer.h b/src/mixer.h
index a5e5a98..1ea471e 100644
--- a/src/mixer.h
+++ b/src/mixer.h
@@ -120,6 +120,16 @@ public:
*/
range_t range();
+ /**
+ * Mute/unmute this mixer (only playback channels).
+ */
+ void setMuted(bool muted);
+
+ /**
+ * Get mute/unmute state of this mixer (only playback channels).
+ */
+ bool muted();
+
private:
snd_mixer_selem_channel_id_t chanId(int idx);