17#define LOC QString("CetonChan[%1](%2): ").arg(m_inputId).arg(CetonChannel::GetDevice())
26 LOG(VB_CHANNEL, LOG_INFO,
LOC +
"Opening Ceton channel");
47 LOG(VB_CHANNEL, LOG_INFO,
LOC +
"Closing Ceton channel");
90 LOG(VB_CHANNEL, LOG_INFO,
LOC + QString(
"Tuning to %1 %2")
#define LOC
-*- Mode: c++ -*- CetonChannel Copyright (c) 2011 Ronald Frazier Copyright (c) 2006-2009 by Silicondu...
static QString format_modulation(const DTVMultiplex &tuning)
bool EnterPowerSavingMode(void) override
Enters power saving mode if the card supports it.
void Close(void) override
Closes the channel changing hardware to use.
bool IsOpen(void) const override
Reports whether channel is already open.
std::vector< DTVTunerType > m_tunerTypes
bool Tune(const DTVMultiplex &tuning) override
This performs the actual frequency tuning and in some cases input switching.
CetonStreamHandler * m_streamHandler
bool SetChannelByString(const QString &channum) override
bool Open(void) override
Opens the channel changing hardware for use.
~CetonChannel(void) override
bool IsCableCardInstalled() const
static void Return(CetonStreamHandler *&ref, int inputid)
bool EnterPowerSavingMode(void)
bool TuneVChannel(const QString &vchannel)
bool IsConnected(void) const
static CetonStreamHandler * Get(const QString &devname, int inputid)
bool TuneFrequency(uint frequency, const QString &modulation)
uint GetProgramNumber(void) const
bool TuneProgram(uint program)
virtual int GetInputID(void) const
virtual bool InitializeInput(void)
Fills in input map from DB.
bool SetChannelByString(const QString &chan) override
void SetSIStandard(const QString &si_std)
Sets PSIP table standard: MPEG, DVB, ATSC, or OpenCable.
DTVModulation m_modulation
static const int kTunerTypeATSC
#define LOG(_MASK_, _LEVEL_, _QSTRING_)