mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 01:11:12 +02:00
- 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:
@@ -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
|
||||
|
Reference in New Issue
Block a user