fix(volume): Unit testing would be nice
This commit is contained in:
parent
89a476e94c
commit
a410e182a9
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user