Rafostar / clapper

Level up your video experience with a modern and user-friendly media player.
https://rafostar.github.io/clapper/
GNU General Public License v3.0
773 stars 36 forks source link

Set volume to zero for Ctrl+M muting #339

Open kdwk opened 1 year ago

kdwk commented 1 year ago

Problem

When muting with Ctrl+M, a alternative mute state separate from the volume controls is put into effect. The only way to unmute is to press Ctrl+M again. However, for users who pressed Ctrl+M accidentally or disconnected the keyboard for whatever reason, there is no way to unmute from the UI as the volume slider is separate from the mute state.

Proposal

Set volume to zero for Ctrl+M muting such that users can simply raise the volume slider to unmute. If the user presses Ctrl+M again to unmute, the volume should go back to its previous state.

Rafostar commented 1 year ago

Unmuting player (leaving mute state) by changing volume is also an option.