void start(int sourcefd, int destfd);
int start(const char *filename, int destfd);
- void start(ePtr<iDataSource> source, int destfd);
+ void start(ePtr<iTsSource> &source, int destfd);
void pause();
- void seek(int whence, off_t where);
void resume();
/* flushes the internal readbuffer */
/* stream mode will wait on EOF until more data is available. */
void setStreamMode(int);
+ void setTimeshift(bool);
+ void setTSPath(const std::string);
void setScatterGather(iFilePushScatterGather *);
int m_send_pvr_commit;
int m_stream_mode;
int m_blocksize;
+ off_t m_current_position;
- ePtr<iDataSource> m_raw_source;
+ ePtr<iTsSource> m_source;
eFixedMessagePump<int> m_messagepump;
+ std::string m_tspath;
+ bool m_is_timeshift;
+ bool m_hdd_connected;
void recvEvent(const int &evt);
+ void defaultTSPath(bool);
};
#endif