summaryrefslogtreecommitdiffstats
path: root/api/demodulatorextend.c
diff options
context:
space:
mode:
Diffstat (limited to 'api/demodulatorextend.c')
-rw-r--r--api/demodulatorextend.c133
1 files changed, 31 insertions, 102 deletions
diff --git a/api/demodulatorextend.c b/api/demodulatorextend.c
index 980949f..db967a6 100644
--- a/api/demodulatorextend.c
+++ b/api/demodulatorextend.c
@@ -8,29 +8,29 @@
//#include "i2u.h"
//#include "af9035u2iimpl.h"
-#include "Afa_AF9007.h"
-#include "Afa_PEACOCK.h"
-#include "Freescale_MC44CD02.h"
-#include "Integrant_ITD3020.h"
-#include "Maxlinear_MXL5005.h"
-#include "Microtune_MT2260B0.h"
-#include "Microtune_MT2266.h"
-#include "Panasonic_ENV77H11D5.h"
-#include "Philips_TD1316AFIHP.h"
-#include "Philips_TDA18291HN.h"
-#include "Xceive_XC3028L.h"
-#include "Infineon_TUA9001.h"
-#include "Fitipower_FC0011.h"
-#include "Infineon_TUA6039.h"
-#include "Philips_TDA18271.h"
-#include "Philips_FQD1218ME_MK5.h"
-#include "Xceive_XC4000.h"
-#include "Philips_TDA18271_C2.h"
-#include "Infineon_TUA8010.h"
+//#include "Afa_AF9007.h"
+//#include "Afa_PEACOCK.h"
+//#include "Freescale_MC44CD02.h"
+//#include "Integrant_ITD3020.h"
+//#include "Maxlinear_MXL5005.h"
+//#include "Microtune_MT2260B0.h"
+//#include "Microtune_MT2266.h"
+//#include "Panasonic_ENV77H11D5.h"
+//#include "Philips_TD1316AFIHP.h"
+//#include "Philips_TDA18291HN.h"
+//#include "Xceive_XC3028L.h"
+//#include "Infineon_TUA9001.h"
+//#include "Fitipower_FC0011.h"
+//#include "Infineon_TUA6039.h"
+//#include "Philips_TDA18271.h"
+//#include "Philips_FQD1218ME_MK5.h"
+//#include "Xceive_XC4000.h"
+//#include "Philips_TDA18271_C2.h"
+//#include "Infineon_TUA8010.h"
#include "FCI_FC2580.h"
-#include "Fitipower_FC0012.h"
-#include "Philips_TDA18271_C2_Askey.h"
-#include "Elonics_E4000.h"
+//#include "Fitipower_FC0012.h"
+//#include "Philips_TDA18271_C2_Askey.h"
+//#include "Elonics_E4000.h"
static PidInfo pidInfo;
BusDescription busDesc[] =
@@ -291,80 +291,9 @@ Dword Demodulator_setBusTuner (
*/
switch (tunerId)
{
- case Tuner_Afatech_AF9007:
- ganymede->tunerDescription = &tuner_AF9007;
- break;
- case Tuner_Panasonic_ENV77H11D5:
- ganymede->tunerDescription = &tuner_ENV77H11D5;
- break;
- case Tuner_Philip_TD1316AFIHP:
- ganymede->tunerDescription = &tuner_TD1316AFIHP;
- break;
- case Tuner_Maxlinear_MXL5005:
- ganymede->tunerDescription = &tuner_MXL5005;
- break;
- case Tuner_Freescale_MC44CD02:
- ganymede->tunerDescription = &tuner_MC44CD02;
- break;
- case Tuner_Microtune_MT2260B0:
- ganymede->tunerDescription = &tuner_MT2260B0;
- break;
- case Tuner_Philips_TDA18291HN:
- ganymede->tunerDescription = &tuner_TDA18291HN;
- break;
- case Tuner_Microtune_MT2266:
- ganymede->tunerDescription = &tuner_MT2266;
- MT2266_supportTA4029CTC ((Demodulator*) &ganymede, 0);
- break;
- case Tuner_Integrant_ITD3020:
- ganymede->tunerDescription = &tuner_ITD3020;
- break;
- case Tuner_Afatech_PEACOCK:
- ganymede->tunerDescription = &tuner_PEACOCK;
- break;
- case Tuner_Xceive_XC3028L:
- ganymede->tunerDescription = &tuner_XC3028L;
- break;
- case Tuner_Infineon_TUA9001:
- ganymede->tunerDescription = &tuner_TUA9001;
- break;
- case Tuner_Fitipower_FC0011:
- ganymede->tunerDescription = &tuner_FC0011;
- break;
- case Tuner_Infineon_TUA6039:
- ganymede->tunerDescription = &tuner_TUA6039;
- break;
- case Tuner_Philips_TDA18271:
- ganymede->tunerDescription = &tuner_TDA18271;
- break;
- case Tuner_Philips_FQD1218ME_MK5:
- ganymede->tunerDescription = &tuner_FQD1218ME_MK5;
- break;
- case Tuner_Xceive_XC4000:
- ganymede->tunerDescription = &tuner_XC4000;
- break;
- case Tuner_Philips_TDA18271_C2:
- ganymede->tunerDescription = &tuner_TDA18271_C2;
- break;
- case Tuner_Infineon_TUA8010:
- ganymede->tunerDescription = &tuner_TUA8010;
- break;
case Tuner_FCI_FC2580:
ganymede->tunerDescription = &tuner_FC2580;
break;
- case Tuner_Microtune_MT2266_TA4029CTC:
- ganymede->tunerDescription = &tuner_MT2266;
- MT2266_supportTA4029CTC ((Demodulator*) &ganymede, 1);
- break;
- case Tuner_Fitipower_FC0012:
- ganymede->tunerDescription = &tuner_FC0012;
- break;
- case Tuner_Philips_TDA18271_C2_Askey:
- ganymede->tunerDescription = &tuner_TDA18271_C2_Askey;
- break;
- case Tuner_Elonics_E4000:
- ganymede->tunerDescription = &tuner_E4000;
- break;
default:
error = Error_INVALID_TUNER_TYPE;
goto exit;
@@ -709,22 +638,22 @@ exit :
}
-#if UNDER_CE
-#else
+//#if UNDER_CE
+//#else
extern long ActiveSync;
-#endif
+//#endif
Dword Demodulator_controlActiveSync (
IN Demodulator* demodulator,
IN Byte control
) {
-#if UNDER_CE
+//#if UNDER_CE
//#else //for Linux
- if (control == 0)
- ActiveSync = 0;
- else
- ActiveSync = 1;
-#endif
+// if (control == 0)
+// ActiveSync = 0;
+// else
+// ActiveSync = 1;
+//#endif
return (Error_NO_ERROR);
}