|
SASC
DVBSoftCAM
|
#include <scsetup.h>
Public Member Functions | |
| cScSetup (void) | |
| void | Check (void) |
| void | Store (bool AsIs) |
| bool | CapCheck (int n) |
| cScSetup (void) | |
| void | Check (void) |
| void | Store (bool AsIs) |
| bool | CapCheck (int n) |
Public Attributes | |
| int | AutoUpdate |
| int | ScCaps [MAXSCCAPS] |
| int | ConcurrentFF |
| int | LocalPriority |
| int | ForceTransfer |
| int | PrestartAU |
| int | SuperKeys |
| int | EcmCache |
| int | DeCsaTsBuffSize |
| cScSetup::cScSetup | ( | void | ) |
Definition at line 967 of file sc.c.
References AutoUpdate, ConcurrentFF, DeCsaTsBuffSize, EcmCache, ForceTransfer, LocalPriority, PrestartAU, ScCaps, and SuperKeys.
{
AutoUpdate=1;
memset(ScCaps,0,sizeof(ScCaps));
ScCaps[0]=1;
ScCaps[1]=2;
ConcurrentFF=0;
LocalPriority=0;
ForceTransfer=1;
PrestartAU=0;
SuperKeys=0;
EcmCache=0;
DeCsaTsBuffSize=4;
}
| cScSetup::cScSetup | ( | void | ) |
| bool cScSetup::CapCheck | ( | int | n | ) |
| bool cScSetup::CapCheck | ( | int | n | ) |
| void cScSetup::Check | ( | void | ) |
| void cScSetup::Check | ( | void | ) |
Definition at line 982 of file sc.c.
References AutoUpdate, ConcurrentFF, DeCsaTsBuffSize, EcmCache, ForceTransfer, L_CORE_LOAD, L_GEN_WARN, LBEND, LBPUT, LBSTART, LocalPriority, MAXSCCAPS, PrestartAU, PRINTF, and ScCaps.
Referenced by cScPlugin::Start().
{
if(AutoUpdate==0)
PRINTF(L_GEN_WARN,"Keys updates (AU) are disabled.");
for(int i=0; i<MAXSCCAPS; i++)
if(ScCaps[i]>=16) {
PRINTF(L_GEN_WARN,"ScCaps contains unusual value. Check your config! (You can ignore this message if you have more than 16 dvb cards in your system ;)");
break;
}
PRINTF(L_CORE_LOAD,"** Plugin config:");
PRINTF(L_CORE_LOAD,"** Key updates (AU) are %s (%sprestart)",AutoUpdate?(AutoUpdate==1?"enabled (active CAIDs)":"enabled (all CAIDs)"):"DISABLED",PrestartAU?"":"no ");
PRINTF(L_CORE_LOAD,"** Local systems %stake priority over cached remote",LocalPriority?"":"DON'T ");
PRINTF(L_CORE_LOAD,"** Concurrent FF recordings are %sallowed",ConcurrentFF?"":"NOT ");
PRINTF(L_CORE_LOAD,"** %sorce transfermode with digital audio",ForceTransfer?"F":"DON'T f");
PRINTF(L_CORE_LOAD,"** ECM cache is set to %s",EcmCache ? (EcmCache==1?"READ-ONLY":"DISABLED"):"enabled");
PRINTF(L_CORE_LOAD,"** TsBufferSize is %d MB",DeCsaTsBuffSize);
LBSTART(L_CORE_LOAD);
LBPUT("** ScCaps are"); for(int i=0; i<MAXSCCAPS ; i++) LBPUT(" %d",ScCaps[i]);
LBEND();
}
| void cScSetup::Store | ( | bool | AsIs | ) |
Definition at line 1004 of file sc.c.
References cSystems::ConfigStore(), cLogging::GetConfig(), cLineBuff::Line(), cPlugin::SetupStore(), and cOpts::Store().
Referenced by cMenuSysOpts::ProcessKey(), cMenuLogMod::ProcessKey(), cCam::SetCWIndex(), cMenuSetupSc::Store(), and cScPlugin::SVDRPCommand().
{
if(ScOpts) ScOpts->Store(AsIs);
cSystems::ConfigStore(AsIs);
if(LogOpts) LogOpts->Store(AsIs);
cLineBuff lb(128);
if(cLogging::GetConfig(&lb))
ScPlugin->SetupStore("LogConfig",lb.Line());
}
| void cScSetup::Store | ( | bool | AsIs | ) |
Definition at line 29 of file scsetup.h.
Referenced by cTpsKeys::Check(), Check(), cScPlugin::cScPlugin(), cScSetup(), and main().
Definition at line 31 of file scsetup.h.
Referenced by cCam::AddPrg(), Check(), cScPlugin::cScPlugin(), cScSetup(), sascCam::sascCam(), and cCam::SetCWIndex().
Definition at line 37 of file scsetup.h.
Referenced by Check(), cScPlugin::cScPlugin(), cScSetup(), and SCDEVICE::OpenDvr().
Definition at line 36 of file scsetup.h.
Referenced by Check(), cScPlugin::cScPlugin(), cScSetup(), cEcmCache::Delete(), cEcmCache::GetCached(), and cEcmCache::New().
Definition at line 33 of file scsetup.h.
Referenced by Check(), cScPlugin::cScPlugin(), cScSetup(), and cScDevices::Startup().
Definition at line 32 of file scsetup.h.
Referenced by Check(), cScPlugin::cScPlugin(), and cScSetup().
Definition at line 34 of file scsetup.h.
Referenced by Check(), cScPlugin::cScPlugin(), cScSetup(), cCam::HouseKeeping(), and cCam::PostTune().
| int cScSetup::ScCaps |
Definition at line 30 of file scsetup.h.
Referenced by CapCheck(), Check(), cScPlugin::cScPlugin(), and cScSetup().
Definition at line 35 of file scsetup.h.
Referenced by cScPlugin::cScPlugin(), and cScSetup().