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

View File

@ -219,7 +219,7 @@ bool VolumeModule::handle_command(const std::string& cmd)
if (master_mixer != nullptr) if (master_mixer != nullptr)
master_mixer->toggle_mute(); master_mixer->toggle_mute();
if (other_mixer != nullptr) if (other_mixer != nullptr)
other_mixer->set_mute(master_mixer->is_muted()); other_mixer->set_mute(!master_mixer->is_muted());
} else { } else {
return false; return false;
} }