コード例 #1
0
        private static DVBS2HandlerBase createGenPixHandler(IBaseFilter tunerFilter, bool logMessage)
        {
            GenPixDVBS2Handler genPixHandler = new GenPixDVBS2Handler(tunerFilter);

            if (genPixHandler.DVBS2Capable)
            {
                return(genPixHandler);
            }

            if (logMessage)
            {
                Logger.Instance.Write("GenPix card is not DVB-S2 capable");
            }

            return(null);
        }
コード例 #2
0
        private static DVBS2HandlerBase createGenPixHandler(IBaseFilter tunerFilter, bool logMessage)
        {
            GenPixDVBS2Handler genPixHandler = new GenPixDVBS2Handler(tunerFilter);

            if (genPixHandler.DVBS2Capable)
                return (genPixHandler);

            if (logMessage)
                Logger.Instance.Write("GenPix card is not DVB-S2 capable");

            return (null);
        }