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

📄 ituner.h

📁 完整的基于Conxant平台的USB电视棒的WIN驱动程序。
💻 H
字号:
#ifndef _ITUNER_H_
#define _ITUNER_H_

class ITuner
{
public:
    virtual ~ITuner(){}

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

    //Returns the frequency set if successful, 0 if it failed.
    virtual DWORD setChannel(
        ULONG country_code, 
        DWORD standard,
        DWORD channel_number, 
        DWORD use_antenna){return 0;}


    //GetSignalOffset() return values:
    //  0   :  signal is locked
    // -1   :  no signal detected
    // other:  signal is not locked, but it was detected off the central frequency.  Add the
    //         returned value to the frequency to get the frequency where the signal was detected.
    virtual LONG getSignalOffset() = 0; 
    virtual BOOLEAN setMode(ULONG mode) = 0;

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

    //Note that the video standard passed to setStandard is the one passed to the 
    // tuner properties, not the one from the video capture filter.
    virtual BOOLEAN setStandard(DWORD standard){return TRUE;}
    virtual BOOLEAN setCountry(DWORD country){return TRUE;}

    virtual BOOLEAN Initialize(){return FALSE;}

	// only used by Xceive tuner
	virtual BOOLEAN powerDown(){return FALSE;}

};

#endif

⌨️ 快捷键说明

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