From 03e63265d5c08fd92caff3add066b93aa79bace5 Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Wed, 26 Mar 2014 14:30:20 +0400 Subject: [PATCH] Revert "streamts: set CPU freq to 'high' for streaming" This reverts commit 69d00db60165f06a17c0003ba38ea06f8e0ffe50. Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/1dfc9c1449b26f9703c0f067f95af853b6bcd57c Author: [CST] Focus Date: 2014-03-26 (Wed, 26 Mar 2014) --- src/driver/streamts.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/driver/streamts.cpp b/src/driver/streamts.cpp index 15d004dcd..122a65bf2 100644 --- a/src/driver/streamts.cpp +++ b/src/driver/streamts.cpp @@ -58,10 +58,6 @@ #include #include #include -#include - -/* 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); } } }