summaryrefslogtreecommitdiff
path: root/dvbdevice.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2008-12-13 12:22:36 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2008-12-13 12:22:36 +0100
commit3c7d1a16aca49c647320c0ee67759007fa06a845 (patch)
treee1e42d585ace0a9e94fdce643ae9bf265bc810c6 /dvbdevice.h
parent3abe4f2b91df3748acafce4bb90e7f296745f270 (diff)
downloadvdr-3c7d1a16aca49c647320c0ee67759007fa06a845.tar.gz
vdr-3c7d1a16aca49c647320c0ee67759007fa06a845.tar.bz2
Switched to the new S2API driver API; cDvbTuner::IsTunedTo()now also checks the symbol rate in case of DVB-S and DVB-C
Diffstat (limited to 'dvbdevice.h')
-rw-r--r--dvbdevice.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/dvbdevice.h b/dvbdevice.h
index bb219d48..c3b0cedb 100644
--- a/dvbdevice.h
+++ b/dvbdevice.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: dvbdevice.h 2.2 2008/06/01 09:48:04 kls Exp $
+ * $Id: dvbdevice.h 2.3 2008/12/06 13:31:12 kls Exp $
*/
#ifndef __DVBDEVICE_H
@@ -15,8 +15,8 @@
#include "device.h"
#include "dvbspu.h"
-#if DVB_API_VERSION != 3 || DVB_API_VERSION_MINOR != 3
-#error VDR requires Linux DVB driver API version 3.3!
+#if DVB_API_VERSION != 5 || DVB_API_VERSION_MINOR != 0
+#error VDR requires Linux DVB driver API version 5.0!
#endif
#define MAXDVBDEVICES 8
@@ -35,8 +35,9 @@ public:
///< Must be called before accessing any DVB functions.
///< \return True if any devices are available.
private:
- dvbfe_delsys frontendType;
+ dvb_frontend_info frontendInfo;
int numProvidedSystems;
+ fe_delivery_system frontendType;
int fd_osd, fd_audio, fd_video, fd_dvr, fd_stc, fd_ca;
protected:
virtual void MakePrimaryDevice(bool On);