13 #include <linux/dvb/frontend.h>
14 #include <linux/dvb/version.h>
17 #define DVBAPIVERSION (DVB_API_VERSION << 8 | DVB_API_VERSION_MINOR)
19 #if DVBAPIVERSION < 0x0500
20 #error VDR requires Linux DVB driver API version 5.0 or higher!
25 #if DVBAPIVERSION < 0x0501
34 #if DVBAPIVERSION < 0x0502
40 #if DVBAPIVERSION < 0x0503
56 #if DVBAPIVERSION < 0x0505
57 #define DTV_ENUM_DELSYS 44
60 #if DVBAPIVERSION < 0x0508
64 #define DTV_STREAM_ID 42
65 #define DTV_DVBT2_PLP_ID_LEGACY 43
70 #define MAXDVBDEVICES 8
71 #define MAXDELIVERYSYSTEMS 8
73 #define DEV_VIDEO "/dev/video"
74 #define DEV_DVB_BASE "/dev/dvb"
75 #define DEV_DVB_ADAPTER "adapter"
76 #define DEV_DVB_OSD "osd"
77 #define DEV_DVB_FRONTEND "frontend"
78 #define DEV_DVB_DVR "dvr"
79 #define DEV_DVB_DEMUX "demux"
80 #define DEV_DVB_VIDEO "video"
81 #define DEV_DVB_AUDIO "audio"
82 #define DEV_DVB_CA "ca"
151 bool Parse(
const char *s);
161 static int DvbOpen(
const char *Name,
int Adapter,
int Frontend,
int Mode,
bool ReportError =
false);
163 static bool Exists(
int Adapter,
int Frontend);
165 static bool Probe(
int Adapter,
int Frontend);
189 virtual bool Ready(
void);
244 virtual bool HasLock(
int TimeoutMs = 0)
const;
260 virtual bool HasCi(
void);
296 virtual bool Probe(
int Adapter,
int Frontend) = 0;
304 #endif //__DVBDEVICE_H