fix(volume): Unit testing would be nice

This commit is contained in:
Michael Carlberg 2016-06-01 16:35:24 +02:00
parent 89a476e94c
commit a410e182a9
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}