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 resume();
/* 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_blocksize;
off_t m_current_position;
- ePtr<iDataSource> m_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