Revert "streamts: set CPU freq to 'high' for streaming"

This reverts commit 69d00db601.


Origin commit data
------------------
Commit: 1dfc9c1449
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2014-03-26 (Wed, 26 Mar 2014)
This commit is contained in:
[CST] Focus
2014-03-26 14:30:20 +04:00
parent ec4b7c25be
commit 03e63265d5

View File

@@ -58,10 +58,6 @@
#include <driver/streamts.h>
#include <driver/record.h>
#include <driver/genpsi.h>
#include <pwrmngr.h>
/* defined in neutrino.cpp */
extern cCpuFreqManager * cpuFreq;
/* experimental mode:
* stream not possible, if record running
@@ -338,7 +334,6 @@ bool CStreamManager::Parse(int fd, stream_pids_t &pids, t_channel_id &chid)
int mode = CNeutrinoApp::getInstance()->getMode();
if (mode == NeutrinoMessages::mode_standby && streams.empty()) {
printf("CStreamManager::Parse: wakeup zapit..\n");
cpuFreq->SetCpuFreq(g_settings.cpufreq * 1000 * 1000);
g_Zapit->setStandby(false);
g_Zapit->getMode();
}
@@ -519,7 +514,6 @@ void CStreamManager::run()
if (g_Zapit->getMode() != 0) {
printf("CStreamManager::run: put zapit into standby...\n");
g_Zapit->setStandby(true);
cpuFreq->SetCpuFreq(g_settings.standby_cpufreq * 1000 * 1000);
}
}
}