From 3922f1c36f8d8e60f8537bcaead0422129ec58dd Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Wed, 1 Oct 2014 15:32:02 +0200 Subject: Add mute/unmute functions. REflect new functionality in aiomixer. --- src/mixer.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/mixer.h') 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); -- cgit v1.2.3