4 #include <lib/dvb/idvb.h>
5 #include <lib/dvb/isection.h>
7 class eDVBDemux: public iDVBDemux
10 friend class eDVBSectionReader;
11 friend class eDVBAudio;
12 friend class eDVBVideo;
15 eDVBDemux(int adapter, int demux);
17 RESULT createSectionReader(eMainloop *context, ePtr<iDVBSectionReader> &reader);
18 RESULT getMPEGDecoder(ePtr<iTSMPEGDecoder> &reader);
21 class eDVBSectionReader: public iDVBSectionReader, public Object
26 Signal1<void, const __u8*> read;
27 ePtr<eDVBDemux> demux;
31 eSocketNotifier *notifier;
34 eDVBSectionReader(eDVBDemux *demux, eMainloop *context, RESULT &res);
35 virtual ~eDVBSectionReader();
36 RESULT start(const eDVBSectionFilterMask &mask);
38 RESULT connectRead(const Slot1<void,const __u8*> &read, ePtr<eConnection> &conn);