mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 17:31:20 +02:00
Audioplayer: Remove special handling for display mute icon
This commit is contained in:
@@ -105,11 +105,6 @@ void CVolume::setVolume(const neutrino_msg_t key)
|
||||
if (CNeutrinoApp::getInstance()->isMuted() && (dir > 0 || g_settings.current_volume > 0)) {
|
||||
hideVolscale();
|
||||
CAudioMute::getInstance()->AudioMute(false, true);
|
||||
if (mode == CNeutrinoApp::mode_audio) {
|
||||
CAudioPlayerGui *cap = CMediaPlayerMenu::getInstance()->getPlayerInstance();
|
||||
if (cap != NULL)
|
||||
cap->refreshMuteIcon();
|
||||
}
|
||||
setVolume(msg);
|
||||
return;
|
||||
}
|
||||
@@ -126,11 +121,6 @@ void CVolume::setVolume(const neutrino_msg_t key)
|
||||
if (g_settings.show_mute_icon) {
|
||||
hideVolscale();
|
||||
CAudioMute::getInstance()->AudioMute(true, true);
|
||||
if (mode == CNeutrinoApp::mode_audio) {
|
||||
CAudioPlayerGui *cap = CMediaPlayerMenu::getInstance()->getPlayerInstance();
|
||||
if (cap != NULL)
|
||||
cap->refreshMuteIcon();
|
||||
}
|
||||
setVolume(msg);
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user