From af1383229ebe0fe0a600995d2f4d9ee9be6a6e3b Mon Sep 17 00:00:00 2001 From: Stefan Seyfried Date: Tue, 6 Nov 2012 19:25:16 +0100 Subject: [PATCH] neutrino: add feedback when entering or leaving standby Leaving standby can take a few seconds until HDMI is reinitialized, the frontend is tuned etc. Add feedback on a frontpanel display to show that the box is alive. --- src/neutrino.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/neutrino.cpp b/src/neutrino.cpp index d0917821c..c87e3406c 100644 --- a/src/neutrino.cpp +++ b/src/neutrino.cpp @@ -3184,6 +3184,7 @@ void CNeutrinoApp::standbyMode( bool bOnOff, bool fromDeepStandby ) INFO("%s", bOnOff ? "ON" : "OFF" ); if( bOnOff ) { + CVFD::getInstance()->ShowText("standby... "); if( mode == mode_scart ) { //g_Controld->setScartMode( 0 ); } @@ -3253,6 +3254,8 @@ void CNeutrinoApp::standbyMode( bool bOnOff, bool fromDeepStandby ) // Active standby off cpuFreq->SetCpuFreq(g_settings.cpufreq * 1000 * 1000); powerManager->SetStandby(false, false); + CVFD::getInstance()->setMode(CVFD::MODE_TVRADIO); + CVFD::getInstance()->ShowText("resume... "); videoDecoder->Standby(false); if(init_cec_setting){ @@ -3275,7 +3278,6 @@ void CNeutrinoApp::standbyMode( bool bOnOff, bool fromDeepStandby ) if (my_system(NEUTRINO_LEAVE_STANDBY_SCRIPT) != 0) perror(NEUTRINO_LEAVE_STANDBY_SCRIPT " failed"); - CVFD::getInstance()->setMode(CVFD::MODE_TVRADIO); g_Zapit->setStandby(false); /* the old code did: if(was_record) g_Zapit->startPlayBack()