diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2006-05-28 15:10:08 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2006-05-28 15:10:08 +0200 |
commit | 9847c7571dc8f76301dcff7a6eff8075f2179b09 (patch) | |
tree | f4b1284beee812f96e5b11e51c253003877a977a /dvbdevice.c | |
parent | 43551831500e249b2dcb8557910ad234f46564cc (diff) | |
download | vdr-9847c7571dc8f76301dcff7a6eff8075f2179b09.tar.gz vdr-9847c7571dc8f76301dcff7a6eff8075f2179b09.tar.bz2 |
Removed all the compatibility '#if APIVERSNUM...' stuff and instead increased the API version number
Diffstat (limited to 'dvbdevice.c')
-rw-r--r-- | dvbdevice.c | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/dvbdevice.c b/dvbdevice.c index 6570695e..fc57c5b0 100644 --- a/dvbdevice.c +++ b/dvbdevice.c @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: dvbdevice.c 1.157 2006/05/20 09:52:23 kls Exp $ + * $Id: dvbdevice.c 1.158 2006/05/28 15:05:03 kls Exp $ */ #include "dvbdevice.h" @@ -357,11 +357,6 @@ void cDvbTuner::Action(void) int cDvbDevice::devVideoOffset = -1; int cDvbDevice::setTransferModeForDolbyDigital = 1; -#if APIVERSNUM == 10400 -int cDvbDevice__setTransferModeForDolbyDigital = -1; -#else -#warning ******* API version changed - remove old stuff -#endif cDvbDevice::cDvbDevice(int n) { @@ -919,23 +914,10 @@ void cDvbDevice::SetDigitalAudioDevice(bool On) } } -#if APIVERSNUM == 10400 -void cDvbDevice::SetTransferModeForDolbyDigital(bool On) -{ - if (cDvbDevice__setTransferModeForDolbyDigital >= 0) { - setTransferModeForDolbyDigital = cDvbDevice__setTransferModeForDolbyDigital; - cDvbDevice__setTransferModeForDolbyDigital = -1; - } - else - setTransferModeForDolbyDigital = On; -} -#else -#warning ******* API version changed - remove old stuff void cDvbDevice::SetTransferModeForDolbyDigital(int Mode) { setTransferModeForDolbyDigital = Mode; } -#endif void cDvbDevice::SetAudioTrackDevice(eTrackType Type) { |