diff options
Diffstat (limited to 'src/mixer.h')
-rw-r--r-- | src/mixer.h | 10 |
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); |