summaryrefslogtreecommitdiff
path: root/dvbdevice.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2014-03-16 10:48:30 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2014-03-16 10:48:30 +0100
commit25e2dbf031a50d7b0295f8e543f011a52a9c9075 (patch)
treeb1056dfe1385b4c8f00803f92b7c0e2b74212e2f /dvbdevice.h
parentaf56e53315ae5b06ca695d2f233239410b6147b4 (diff)
downloadvdr-25e2dbf031a50d7b0295f8e543f011a52a9c9075.tar.gz
vdr-25e2dbf031a50d7b0295f8e543f011a52a9c9075.tar.bz2
Added support for "Pilot", "T2-System-Id" and "SISO/MISO" parameters
Diffstat (limited to 'dvbdevice.h')
-rw-r--r--dvbdevice.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/dvbdevice.h b/dvbdevice.h
index 278edd0c..0a148ce3 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 3.4 2014/01/16 11:45:35 kls Exp $
+ * $Id: dvbdevice.h 3.5 2014/03/16 10:38:31 kls Exp $
*/
#ifndef __DVBDEVICE_H
@@ -92,6 +92,7 @@ int MapToDriver(int Value, const tDvbParameterMap *Map);
int UserIndex(int Value, const tDvbParameterMap *Map);
int DriverIndex(int Value, const tDvbParameterMap *Map);
+extern const tDvbParameterMap PilotValues[];
extern const tDvbParameterMap InversionValues[];
extern const tDvbParameterMap BandwidthValues[];
extern const tDvbParameterMap CoderateValues[];
@@ -118,6 +119,9 @@ private:
int hierarchy;
int rollOff;
int streamId;
+ int t2systemId;
+ int sisoMiso;
+ int pilot;
int PrintParameter(char *p, char Name, int Value) const;
const char *ParseParameter(const char *s, int &Value, const tDvbParameterMap *Map = NULL);
public:
@@ -134,6 +138,9 @@ public:
int Hierarchy(void) const { return hierarchy; }
int RollOff(void) const { return rollOff; }
int StreamId(void) const { return streamId; }
+ int T2SystemId(void) const { return t2systemId; }
+ int SisoMiso(void) const { return sisoMiso; }
+ int Pilot(void) const { return pilot; }
void SetPolarization(char Polarization) { polarization = Polarization; }
void SetInversion(int Inversion) { inversion = Inversion; }
void SetBandwidth(int Bandwidth) { bandwidth = Bandwidth; }
@@ -146,6 +153,9 @@ public:
void SetHierarchy(int Hierarchy) { hierarchy = Hierarchy; }
void SetRollOff(int RollOff) { rollOff = RollOff; }
void SetStreamId(int StreamId) { streamId = StreamId; }
+ void SetT2SystemId(int T2SystemId) { t2systemId = T2SystemId; }
+ void SetSisoMiso(int SisoMiso) { sisoMiso = SisoMiso; }
+ void SetPilot(int Pilot) { pilot = Pilot; }
cString ToString(char Type) const;
bool Parse(const char *s);
};