* Various changes for reworked mute icon handling in some classes

- mute icon disabled for moviebrowser, upnpbrowser, pictureviewer
- extra handling for audioplayer
This commit is contained in:
Michael Liebmann
2013-05-13 04:30:36 +02:00
parent 1049b337bb
commit bf1c7bfdb7
9 changed files with 46 additions and 11 deletions

View File

@@ -30,6 +30,7 @@
#include <global.h>
#include <neutrino.h>
#include <gui/audiomute.h>
#include <gui/movieplayer.h>
#include <gui/infoviewer.h>
#include <gui/timeosd.h>
@@ -484,6 +485,8 @@ void CMoviePlayerGui::PlayFile(void)
}
}
CAudioMute::getInstance()->enableMuteIcon(true);
while (playstate >= CMoviePlayerGui::PLAY)
{
if (update_lcd) {
@@ -717,6 +720,8 @@ void CMoviePlayerGui::PlayFile(void)
restoreNeutrino();
CAudioMute::getInstance()->enableMuteIcon(false);
if (g_settings.mode_clock)
InfoClock->StartClock();
}