ePtr<eDVBDemux> m_demux;
int m_fd, m_fd_demux;
public:
+ enum {aMPEG, aAC3, aDTS };
eDVBAudio(eDVBDemux *demux, int dev);
- int startPid(int pid);
+ int startPid(int pid, int type);
void stop();
+#if HAVE_DVB_API_VERSION < 3
+ void start();
+ void stopPid();
+#endif
+ void flush();
+ void freeze();
+ void unfreeze();
virtual ~eDVBAudio();
};
private:
ePtr<eDVBDemux> m_demux;
int m_fd, m_fd_demux;
+
+ int m_is_slow_motion, m_is_fast_forward;
public:
eDVBVideo(eDVBDemux *demux, int dev);
int startPid(int pid);
void stop();
+#if HAVE_DVB_API_VERSION < 3
+ void start();
+ void stopPid();
+#endif
+ void flush();
+ void freeze();
+ int setSlowMotion(int repeat);
+ int setFastForward(int skip);
+ void unfreeze();
virtual ~eDVBVideo();
};
virtual ~eDVBPCR();
};
-class eTSMPEGDecoder: public iTSMPEGDecoder
+class eTSMPEGDecoder: public Object, public iTSMPEGDecoder
{
DECLARE_REF(eTSMPEGDecoder);
private:
};
int m_changed;
int setState();
+ ePtr<eConnection> m_demux_event;
+
+ void demux_event(int event);
public:
enum { pidNone = -1 };
eTSMPEGDecoder(eDVBDemux *demux, int decoder);
RESULT unfreeze();
RESULT setSinglePictureMode(int when);
RESULT setPictureSkipMode(int what);
+ RESULT setFastForward(int frames_to_skip);
RESULT setSlowMotion(int repeat);
RESULT setZoom(int what);
+ RESULT flush();
};
#endif