⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 teatuner.h

📁 完整的基于Conxant平台的USB电视棒的WIN驱动程序。
💻 H
字号:
/*+++ *******************************************************************\ 
* 
*  Copyright and Disclaimer: 
*  
*     --------------------------------------------------------------- 
*     This software is provided "AS IS" without warranty of any kind, 
*     either expressed or implied, including but not limited to the 
*     implied warranties of noninfringement, merchantability and/or 
*     fitness for a particular purpose.
*     --------------------------------------------------------------- 
*   
*     Copyright (c) 2004 Conexant Systems, Inc. 
*     All rights reserved. 
*
\******************************************************************* ---*/ 
#ifndef _TEA_TUNER_H_
#define _TEA_TUNER_H_

#include "ITuner.h"

class I2cIF;

class TeaTuner : public ITuner
{
public:
    TeaTuner(I2cIF* p_i2c);

    virtual ~TeaTuner();

    virtual BOOLEAN setFrequency(ULONG frequency, DWORD standard);
    virtual BOOLEAN setFrequency(PULONG p_frequency, DWORD standard, DWORD tuning_flags);

    //GetSignalOffset() return values:
    // 0 if signal is locked
    // -1 if no signal detected
    // other value needed to add to signal if signal is detected off the central frequency
    virtual LONG getSignalOffset(); 
    virtual BOOLEAN setMode(ULONG mode){  return TRUE; }

   
    //Accessors to tuner information
    virtual DWORD getSupportedModes();
    virtual DWORD getSupportedStandards(ULONG mode);
    virtual DWORD getMinFrequency(ULONG mode);
    virtual DWORD getMaxFrequency(ULONG mode);
    virtual DWORD getNumInputs(ULONG mode);
protected:

private:
    I2cIF* _p_i2c;
};


#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -