spark: make cDemux multi-tuner compatible

...which is more complicated than it seems at first glance, due
to the restrictions of the sh4 pti driver...
This commit is contained in:
Stefan Seyfried
2012-09-22 11:07:43 +02:00
parent f0a9b76ef1
commit 99a63b16ca
2 changed files with 123 additions and 51 deletions

View File

@@ -38,9 +38,11 @@ class cDemux
std::vector<pes_pids> pesfds;
struct dmx_sct_filter_params s_flt;
struct dmx_pes_filter_params p_flt;
int last_source;
bool _open(void);
public:
bool Open(DMX_CHANNEL_TYPE pes_type, void * x = NULL, int y = 0);
bool Open(DMX_CHANNEL_TYPE pes_type, void * unused = NULL, int bufsize = 0);
void Close(void);
bool Start(bool record = false);
bool Stop(void);