From a410e182a98e2311c52772ec81a4b028f92ac0ce Mon Sep 17 00:00:00 2001 From: Michael Carlberg Date: Wed, 1 Jun 2016 16:35:24 +0200 Subject: [PATCH] fix(volume): Unit testing would be nice --- src/modules/volume.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/volume.cpp b/src/modules/volume.cpp index 63589cb7..b5922676 100644 --- a/src/modules/volume.cpp +++ b/src/modules/volume.cpp @@ -219,7 +219,7 @@ bool VolumeModule::handle_command(const std::string& cmd) if (master_mixer != nullptr) master_mixer->toggle_mute(); if (other_mixer != nullptr) - other_mixer->set_mute(master_mixer->is_muted()); + other_mixer->set_mute(!master_mixer->is_muted()); } else { return false; }