speedup standby handling by setting standby cpu-frequenzy later

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@2124 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Commit: 85927dbddf
Author: gixxpunk <thomas.harfmann@gmail.com>
Date: 2012-02-25 (Sat, 25 Feb 2012)

Origin message was:
------------------
- speedup standby handling by setting standby cpu-frequenzy later

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@2124 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
gixxpunk
2012-02-25 18:59:48 +00:00
parent bb5de8fce0
commit e03955300b

View File

@@ -3343,7 +3343,6 @@ void CNeutrinoApp::standbyMode( bool bOnOff )
if(!CRecordManager::getInstance()->RecordingStatus()) {
g_Zapit->setStandby(true);
cpuFreq->SetCpuFreq(g_settings.standby_cpufreq * 1000 * 1000);
} else {
g_Zapit->stopPlayBack();
}
@@ -3371,6 +3370,9 @@ void CNeutrinoApp::standbyMode( bool bOnOff )
if (system(NEUTRINO_ENTER_STANDBY_SCRIPT) != 0)
perror(NEUTRINO_ENTER_STANDBY_SCRIPT " failed");
if(!CRecordManager::getInstance()->RecordingStatus())
cpuFreq->SetCpuFreq(g_settings.standby_cpufreq * 1000 * 1000);
lastMode = mode;
mode = mode_standby;
//fan speed