summaryrefslogtreecommitdiff
path: root/dvbdevice.h
diff options
context:
space:
mode:
authorMarkus Ehrnsperger <markus@vdr1.(none)>2011-02-06 11:21:04 +0100
committerMarkus Ehrnsperger <markus@vdr1.(none)>2011-02-06 11:21:04 +0100
commitbbea9e80be431b7422aaa4a8a9c0a171ddc105d5 (patch)
tree742b4d639b3b7c3c885f78e2da454bbb408932d7 /dvbdevice.h
parentac9d15a2a4e62971aee7932e55aa2d924f9b0261 (diff)
downloadvdr-patch-lnbsharing-lnb-sharing-0.1.1.tar.gz
vdr-patch-lnbsharing-lnb-sharing-0.1.1.tar.bz2
2010-02-06 Version 0.1.1 for VDR version 1.7.16lnb-sharing-0.1.1
- Fix: If several DVB devices share one LNB, only the first of these devises will send signals like 22kHz. See README.LNBshare for details - README.LNBshare: Include warning about 1.3 FF cards with buggy Loop-Through that might result in destruction of LNBP-Chips if the Loop-Through is used - Fix: Log file: Numbering of 'LNBs' not connected to a SAT DVB card
Diffstat (limited to 'dvbdevice.h')
-rw-r--r--dvbdevice.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/dvbdevice.h b/dvbdevice.h
index 446ea48..be3ee13 100644
--- a/dvbdevice.h
+++ b/dvbdevice.h
@@ -133,19 +133,16 @@ private:
// cDiseqc *lnbSource; // can not #include "diseqc.h". A workaround follows:
int *lnbSource; // [DiSEqC] DiSEqC-Source
int lnbNr; // Number of LNB used
-// LNB Sharing-Ende
+ bool lnbSendSignals; // false if this device must not send signals to the LNB (like 22 kHz, ...).
public:
int *LnbSource(void) { return lnbSource; };
- virtual int LnbNr(void) const { if(ProvidesSource(cSource::stSat)) return lnbNr; return CardIndex() * -1;};
+ virtual int LnbNr(void) const { if(ProvidesSource(cSource::stSat)) return lnbNr; return (CardIndex() + 1) * -1;};
virtual void SetLnbNrFromSetup(void);
-
-public:
virtual bool IsLnbConflict(const cChannel *Channel);
virtual bool IsShareLnb(const cDevice *Device);
-
// LNB Sharing Ende
-
+
// Common Interface facilities: