class eDVBServicePlay: public iPlayableService, public iPauseableService,
public iSeekableService, public Object, public iServiceInformation,
- public iAudioTrackSelection
+ public iAudioTrackSelection, public iFrontendStatusInformation,
+ public iSubserviceList
{
DECLARE_REF(eDVBServicePlay);
public:
RESULT pause(ePtr<iPauseableService> &ptr);
RESULT info(ePtr<iServiceInformation> &ptr);
RESULT audioTracks(ePtr<iAudioTrackSelection> &ptr);
-
+ RESULT frontendStatusInfo(ePtr<iFrontendStatusInformation> &ptr);
+ RESULT subServices(ePtr<iSubserviceList> &ptr);
+
// iPauseableService
RESULT pause();
RESULT unpause();
-
+ RESULT setSlowMotion(int ratio);
+ RESULT setFastForward(int ratio);
+
// iSeekableService
RESULT getLength(pts_t &len);
RESULT seekTo(pts_t to);
// iServiceInformation
RESULT getName(std::string &name);
RESULT getEvent(ePtr<eServiceEvent> &evt, int nownext);
+ int getInfo(int w);
+ std::string getInfoString(int w);
// iAudioTrackSelection
int getNumberOfTracks();
RESULT selectTrack(unsigned int i);
RESULT getTrackInfo(struct iAudioTrackInfo &, unsigned int n);
+ // iFrontendStatusInformation
+ int getFrontendInfo(int w);
+
+ // iSubserviceList
+ int getNumberOfSubservices();
+ RESULT getSubservice(eServiceReference &subservice, unsigned int n);
+
private:
friend class eServiceFactoryDVB;
eServiceReference m_reference;
Signal2<void,iPlayableService*,int> m_event;
int m_is_pvr, m_is_paused;
+
+ int m_current_audio_stream;
+ int selectAudioStream(int n);
};
#endif