Audioplayer: Remove special handling for display mute icon

Origin commit data
------------------
Commit: bace5ce91b
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-11-04 (Mon, 04 Nov 2013)
This commit is contained in:
Michael Liebmann
2013-11-04 11:51:05 +01:00
parent 1a8479cbef
commit 5aa9f6a272
6 changed files with 2 additions and 29 deletions

View File

@@ -60,7 +60,7 @@ void CAudioMute::AudioMute(int newValue, bool isEvent)
neutrino->setCurrentMuted(newValue);
g_Zapit->muteAudio(newValue);
if( isEvent && ( neutrino->getMode() != CNeutrinoApp::mode_scart ) && ( neutrino->getMode() != CNeutrinoApp::mode_audio) && ( neutrino->getMode() != CNeutrinoApp::mode_pic))
if( isEvent && ( neutrino->getMode() != CNeutrinoApp::mode_scart ) && ( neutrino->getMode() != CNeutrinoApp::mode_pic))
{
CVolumeHelper::getInstance()->getMuteIconDimensions(&x, &y, &width, &height);
if ((y_old != y)) {
@@ -92,12 +92,6 @@ void CAudioMute::AudioMute(int newValue, bool isEvent)
if (doInit)
CVolumeHelper::getInstance()->refresh();
}
else if (neutrino->getMode() == CNeutrinoApp::mode_audio) {
if (newValue)
frameBuffer->setFbArea(CFrameBuffer::FB_PAINTAREA_MUTEICON1, x, y, width, height);
else
frameBuffer->setFbArea(CFrameBuffer::FB_PAINTAREA_MUTEICON1);
}
}
void CAudioMute::enableMuteIcon(bool enable)