From 4e8cae716ad3fdf29a7b2a45e5eec0a530f93277 Mon Sep 17 00:00:00 2001 From: Andreas Monzner Date: Tue, 16 May 2006 14:58:11 +0000 Subject: 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 :) --- lib/dvb/decoder.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/dvb/decoder.h') diff --git a/lib/dvb/decoder.h b/lib/dvb/decoder.h index 834499b0..f8719869 100644 --- a/lib/dvb/decoder.h +++ b/lib/dvb/decoder.h @@ -14,6 +14,8 @@ public: enum { aMPEG, aAC3, aDTS, aAAC }; eDVBAudio(eDVBDemux *demux, int dev); int startPid(int pid, int type); + enum { aMonoLeft, aStereo, aMonoRight }; + void setChannel(int channel); void stop(); #if HAVE_DVB_API_VERSION < 3 void start(); @@ -107,6 +109,7 @@ public: virtual ~eTSMPEGDecoder(); RESULT setVideoPID(int vpid, int type); RESULT setAudioPID(int apid, int type); + RESULT setAudioChannel(int channel); RESULT setSyncPCR(int pcrpid); RESULT setTextPID(int textpid); RESULT setSyncMaster(int who); -- cgit v1.2.3