Esempio n. 1
0
        private static DVBS2HandlerBase createHauppaugeHandler(IBaseFilter tunerFilter, bool logMessage)
        {
            HauppaugeDVBS2Handler hauppaugeHandler = new HauppaugeDVBS2Handler(tunerFilter);

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

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

            return(null);
        }
Esempio n. 2
0
        private static DVBS2HandlerBase createHauppaugeHandler(IBaseFilter tunerFilter, bool logMessage)
        {
            HauppaugeDVBS2Handler hauppaugeHandler = new HauppaugeDVBS2Handler(tunerFilter);

            if (hauppaugeHandler.DVBS2Capable)
                return (hauppaugeHandler);

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

            return (null);
        }