mirror of
https://github.com/RGBCube/serenity
synced 2025-07-24 23:17:44 +00:00
SoundPlayer: Add 'mute' methods to Player
These methods allow us to mute/unmute the player without needing to modify the volume level that it has.
This commit is contained in:
parent
fb109ab3b4
commit
8f2161c0ee
4 changed files with 32 additions and 0 deletions
|
@ -180,6 +180,10 @@ void SoundPlayerWidgetAdvancedView::loop_mode_changed(Player::LoopMode)
|
|||
{
|
||||
}
|
||||
|
||||
void SoundPlayerWidgetAdvancedView::mute_changed(bool)
|
||||
{
|
||||
}
|
||||
|
||||
void SoundPlayerWidgetAdvancedView::sync_previous_next_buttons()
|
||||
{
|
||||
m_back_button->set_enabled(playlist().size() > 1 && !playlist().shuffling());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue