summaryrefslogtreecommitdiff
path: root/transfer.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2002-10-12 14:29:46 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2002-10-12 14:29:46 +0200
commitec5795bda2aae521c81e101ec109b8bc74e3e19d (patch)
treec113e0544ca27bd9f7c9e633b711142fbc556058 /transfer.h
parent371b9be00bf3a6e301e9709bb9afd4294ea7a1dc (diff)
downloadvdr-ec5795bda2aae521c81e101ec109b8bc74e3e19d.tar.gz
vdr-ec5795bda2aae521c81e101ec109b8bc74e3e19d.tar.bz2
Reactivated full handling of second audio PID (even in 'Transfer Mode')
Diffstat (limited to 'transfer.h')
-rw-r--r--transfer.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/transfer.h b/transfer.h
index 567f21ab..d94c85ab 100644
--- a/transfer.h
+++ b/transfer.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: transfer.h 1.2 2002/06/23 12:26:24 kls Exp $
+ * $Id: transfer.h 1.3 2002/10/12 12:59:05 kls Exp $
*/
#ifndef __TRANSFER_H
@@ -20,8 +20,11 @@ class cTransfer : public cReceiver, public cPlayer, public cThread {
private:
cRingBufferLinear *ringBuffer;
cRemux *remux;
+ bool canToggleAudioTrack;
+ uchar audioTrack;
bool gotBufferReserve;
bool active;
+ void StripAudioPackets(uchar *b, int Length, uchar Except = 0x00);
protected:
virtual void Activate(bool On);
virtual void Receive(uchar *Data, int Length);
@@ -29,7 +32,9 @@ protected:
public:
cTransfer(int VPid, int APid1, int APid2, int DPid1, int DPid2);
virtual ~cTransfer();
- void SetAudioPid(int APid);
+ virtual int NumAudioTracks(void) const;
+ virtual const char **GetAudioTracks(int *CurrentTrack = NULL) const;
+ virtual void SetAudioTrack(int Index);
};
class cTransferControl : public cControl {