aboutsummaryrefslogtreecommitdiff
path: root/lib/service/servicedvb.h
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2006-05-16 14:58:11 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2006-05-16 14:58:11 +0000
commit4e8cae716ad3fdf29a7b2a45e5eec0a530f93277 (patch)
tree33cc04ae9577a5dd03dd4a52c9205fcc957236ee /lib/service/servicedvb.h
parent193333b7bc72ab13d4dee5750b31c3c33041c696 (diff)
downloadenigma2-4e8cae716ad3fdf29a7b2a45e5eec0a530f93277.tar.gz
enigma2-4e8cae716ad3fdf29a7b2a45e5eec0a530f93277.zip
add ability to selecte the audio channel (mono left, stereo, mono right) from python
store the current selected audio channel then per service in servicelist TODO: extend the audio track selection screen to make audio channel selection usable :)
Diffstat (limited to 'lib/service/servicedvb.h')
-rw-r--r--lib/service/servicedvb.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/service/servicedvb.h b/lib/service/servicedvb.h
index 01eb0497..79e8d540 100644
--- a/lib/service/servicedvb.h
+++ b/lib/service/servicedvb.h
@@ -58,7 +58,8 @@ private:
class eDVBServicePlay: public iPlayableService, public iPauseableService,
public iSeekableService, public Object, public iServiceInformation,
- public iAudioTrackSelection, public iFrontendStatusInformation,
+ public iAudioTrackSelection, public iAudioChannelSelection,
+ public iFrontendStatusInformation,
public iSubserviceList, public iTimeshiftService,
public iCueSheet
{
@@ -75,6 +76,7 @@ public:
RESULT seek(ePtr<iSeekableService> &ptr);
RESULT pause(ePtr<iPauseableService> &ptr);
RESULT info(ePtr<iServiceInformation> &ptr);
+ RESULT audioChannel(ePtr<iAudioChannelSelection> &ptr);
RESULT audioTracks(ePtr<iAudioTrackSelection> &ptr);
RESULT frontendStatusInfo(ePtr<iFrontendStatusInformation> &ptr);
RESULT subServices(ePtr<iSubserviceList> &ptr);
@@ -107,6 +109,10 @@ public:
RESULT selectTrack(unsigned int i);
RESULT getTrackInfo(struct iAudioTrackInfo &, unsigned int n);
+ // iAudioChannelSelection
+ int getCurrentChannel();
+ RESULT selectChannel(int i);
+
// iFrontendStatusInformation
int getFrontendInfo(int w);
PyObject *getFrontendData(bool);