mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 01:11:06 +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
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:
@@ -3343,7 +3343,6 @@ void CNeutrinoApp::standbyMode( bool bOnOff )
|
|||||||
|
|
||||||
if(!CRecordManager::getInstance()->RecordingStatus()) {
|
if(!CRecordManager::getInstance()->RecordingStatus()) {
|
||||||
g_Zapit->setStandby(true);
|
g_Zapit->setStandby(true);
|
||||||
cpuFreq->SetCpuFreq(g_settings.standby_cpufreq * 1000 * 1000);
|
|
||||||
} else {
|
} else {
|
||||||
g_Zapit->stopPlayBack();
|
g_Zapit->stopPlayBack();
|
||||||
}
|
}
|
||||||
@@ -3371,6 +3370,9 @@ void CNeutrinoApp::standbyMode( bool bOnOff )
|
|||||||
if (system(NEUTRINO_ENTER_STANDBY_SCRIPT) != 0)
|
if (system(NEUTRINO_ENTER_STANDBY_SCRIPT) != 0)
|
||||||
perror(NEUTRINO_ENTER_STANDBY_SCRIPT " failed");
|
perror(NEUTRINO_ENTER_STANDBY_SCRIPT " failed");
|
||||||
|
|
||||||
|
if(!CRecordManager::getInstance()->RecordingStatus())
|
||||||
|
cpuFreq->SetCpuFreq(g_settings.standby_cpufreq * 1000 * 1000);
|
||||||
|
|
||||||
lastMode = mode;
|
lastMode = mode;
|
||||||
mode = mode_standby;
|
mode = mode_standby;
|
||||||
//fan speed
|
//fan speed
|
||||||
|
Reference in New Issue
Block a user