mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 17:01:15 +02:00
* 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:
@@ -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();
|
||||
}
|
||||
|
Reference in New Issue
Block a user