summaryrefslogtreecommitdiff
path: root/dvbapi.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2001-06-03 13:07:20 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2001-06-03 13:07:20 +0200
commita9b2afd28b878f932f98983e5e4e4f780ac6a7fe (patch)
tree479d2830d1508fe75288b0e85c2c2bb24f866a6b /dvbapi.h
parentb41adae497b395d66cbca978a0b1b557aebda070 (diff)
downloadvdr-a9b2afd28b878f932f98983e5e4e4f780ac6a7fe.tar.gz
vdr-a9b2afd28b878f932f98983e5e4e4f780ac6a7fe.tar.bz2
Support for two audio channels
Diffstat (limited to 'dvbapi.h')
-rw-r--r--dvbapi.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/dvbapi.h b/dvbapi.h
index f9808299..e9b59cdc 100644
--- a/dvbapi.h
+++ b/dvbapi.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: dvbapi.h 1.36 2001/06/02 09:44:00 kls Exp $
+ * $Id: dvbapi.h 1.37 2001/06/03 11:51:30 kls Exp $
*/
#ifndef __DVBAPI_H
@@ -67,7 +67,7 @@ class cDvbApi {
private:
int videoDev;
int fd_osd, fd_qpskfe, fd_qamfe, fd_sec, fd_dvr, fd_audio, fd_video, fd_demuxa, fd_demuxv, fd_demuxt;
- int vPid, aPid;
+ int vPid, aPid1, aPid2;
bool SetPid(int fd, dmxPesType_t PesType, dvb_pid_t Pid, dmxOutput_t Output);
bool SetVpid(int Vpid, dmxOutput_t Output) { return SetPid(fd_demuxv, DMX_PES_VIDEO, Vpid, Output); }
bool SetApid(int Apid, dmxOutput_t Output) { return SetPid(fd_demuxa, DMX_PES_AUDIO, Apid, Output); }
@@ -177,9 +177,11 @@ public:
private:
int currentChannel;
public:
- bool SetChannel(int ChannelNumber, int FrequencyMHz, char Polarization, int Diseqc, int Srate, int Vpid, int Apid, int Tpid, int Ca, int Pnr);
+ bool SetChannel(int ChannelNumber, int FrequencyMHz, char Polarization, int Diseqc, int Srate, int Vpid, int Apid1, int Apid2, int Tpid, int Ca, int Pnr);
static int CurrentChannel(void) { return PrimaryDvbApi ? PrimaryDvbApi->currentChannel : 0; }
int Channel(void) { return currentChannel; }
+ bool CanToggleAudioPid(void);
+ bool ToggleAudioPid(void);
// Transfer facilities