8 * Interface for digital tuners using DVB.
11 #include "condition.inc"
12 #include "dvbtune.inc"
14 #include "renderfarmclient.inc"
16 #include "tunerserver.h"
23 class DVBTune
: public TunerServer
26 DVBTune(RenderFarmClientThread
*client
);
33 int get_signal_strength(int *current_power
, int *current_lock
);
34 int read_data(unsigned char *data
, int size
);
45 unsigned char *buffer
;
48 DVBTuneThread
*thread
;
49 DVBTuneStatus
*status
;
53 // Read asynchronously in case the network was too slow.
54 // Turns out the status was the thing slowing it down.
56 class DVBTuneThread
: public Thread
59 DVBTuneThread(DVBTune
*server
);
66 // Need to get tuner status separately because it's real slow.
68 class DVBTuneStatus
: public Thread
71 DVBTuneStatus(DVBTune
*server
);