X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/6977ff954d9c08c2f3ca7727cf997ccd7be201ed..2601ee77efe1f10be7cbeb8af94e2fb229cc1ec1:/lib/dvb/decoder.h diff --git a/lib/dvb/decoder.h b/lib/dvb/decoder.h index a26d6cf5..d1f040ec 100644 --- a/lib/dvb/decoder.h +++ b/lib/dvb/decoder.h @@ -11,14 +11,17 @@ private: ePtr 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(); }; @@ -28,6 +31,8 @@ DECLARE_REF(eDVBVideo); private: ePtr 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); @@ -37,6 +42,10 @@ public: void stopPid(); #endif void flush(); + void freeze(); + int setSlowMotion(int repeat); + int setFastForward(int skip); + void unfreeze(); virtual ~eDVBVideo(); }; @@ -86,6 +95,7 @@ public: 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();