aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Plugins/Extensions/DVDPlayer/src/servicedvd.h
diff options
context:
space:
mode:
authorFraxinas <andreas.frisch@multimedia-labs.de>2011-02-07 19:56:00 +0100
committerFraxinas <andreas.frisch@multimedia-labs.de>2011-02-07 19:56:00 +0100
commit6860090ddeaaa0faf18be716f3eed439808335ba (patch)
tree0741098db64dbd7c4a5ec51b53fdb8dbd829f061 /lib/python/Plugins/Extensions/DVDPlayer/src/servicedvd.h
parent484b456dc42d819bb58401cc06abd8cf2be933bf (diff)
parentf3060d26bbb98713b901794b6e47bf7f064a9073 (diff)
downloadenigma2-6860090ddeaaa0faf18be716f3eed439808335ba.tar.gz
enigma2-6860090ddeaaa0faf18be716f3eed439808335ba.zip
Merge branch 'bug_440_dvdplayer_audioselection'
Diffstat (limited to 'lib/python/Plugins/Extensions/DVDPlayer/src/servicedvd.h')
-rw-r--r--lib/python/Plugins/Extensions/DVDPlayer/src/servicedvd.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/lib/python/Plugins/Extensions/DVDPlayer/src/servicedvd.h b/lib/python/Plugins/Extensions/DVDPlayer/src/servicedvd.h
index c751a394..80cfcf0c 100644
--- a/lib/python/Plugins/Extensions/DVDPlayer/src/servicedvd.h
+++ b/lib/python/Plugins/Extensions/DVDPlayer/src/servicedvd.h
@@ -26,7 +26,7 @@ public:
RESULT offlineOperations(const eServiceReference &, ePtr<iServiceOfflineOperations> &ptr);
};
-class eServiceDVD: public iPlayableService, public iPauseableService, public iSeekableService,
+class eServiceDVD: public iPlayableService, public iPauseableService, public iSeekableService, public iAudioTrackSelection,
public iServiceInformation, public iSubtitleOutput, public iServiceKeys, public iCueSheet, public eThread, public Object
{
friend class eServiceFactoryDVD;
@@ -35,7 +35,7 @@ public:
virtual ~eServiceDVD();
// not implemented (yet)
RESULT audioChannel(ePtr<iAudioChannelSelection> &ptr) { ptr = 0; return -1; }
- RESULT audioTracks(ePtr<iAudioTrackSelection> &ptr) { ptr = 0; return -1; }
+ RESULT audioTracks(ePtr<iAudioTrackSelection> &ptr);
RESULT frontendInfo(ePtr<iFrontendInformation> &ptr) { ptr = 0; return -1; }
RESULT subServices(ePtr<iSubserviceList> &ptr) { ptr = 0; return -1; }
RESULT timeshift(ePtr<iTimeshiftService> &ptr) { ptr = 0; return -1; }
@@ -89,8 +89,15 @@ public:
void setCutList(SWIG_PYOBJECT(ePyObject));
void setCutListEnable(int enable);
- // iServiceKeys
+ // iAudioTrackSelection
+ int getNumberOfTracks();
+ RESULT selectTrack(unsigned int i);
+ RESULT getTrackInfo(struct iAudioTrackInfo &, unsigned int n);
+ int getCurrentTrack();
+
+ // iServiceKeys
RESULT keyPressed(int key);
+
private:
eServiceDVD(eServiceReference ref);