summaryrefslogtreecommitdiff
path: root/dvbdevice.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2004-12-17 14:55:49 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2004-12-17 14:55:49 +0100
commitc77989ee70085be02dca4dc1be362801baa15ff3 (patch)
tree03433d0f032c3657c39384108ad56a1423e9c9a6 /dvbdevice.h
parent69ecb6a4d8d7eb73bd81f690d8e153a7cc6b882e (diff)
downloadvdr-c77989ee70085be02dca4dc1be362801baa15ff3.tar.gz
vdr-c77989ee70085be02dca4dc1be362801baa15ff3.tar.bz2
Added support for AC3 replay over the DVB device
Diffstat (limited to 'dvbdevice.h')
-rw-r--r--dvbdevice.h17
1 files changed, 10 insertions, 7 deletions
diff --git a/dvbdevice.h b/dvbdevice.h
index 1817f371..e0213990 100644
--- a/dvbdevice.h
+++ b/dvbdevice.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: dvbdevice.h 1.30 2004/11/07 10:25:16 kls Exp $
+ * $Id: dvbdevice.h 1.31 2004/12/17 14:01:31 kls Exp $
*/
#ifndef __DVBDEVICE_H
@@ -90,15 +90,18 @@ public:
virtual void SetVideoFormat(bool VideoFormat16_9);
virtual eVideoSystem GetVideoSystem(void);
+// Track facilities
+
+protected:
+ virtual void SetAudioTrackDevice(eTrackType Type);
+
// Audio facilities
private:
- int aPid1, aPid2;
+ bool digitalAudio;
protected:
virtual void SetVolumeDevice(int Volume);
- virtual int NumAudioTracksDevice(void) const;
- virtual const char **GetAudioTracksDevice(int *CurrentTrack = NULL) const;
- virtual void SetAudioTrackDevice(int Index);
+ virtual void SetDigitalAudioDevice(bool On);
// Player facilities
@@ -106,6 +109,8 @@ protected:
ePlayMode playMode;
virtual bool CanReplay(void) const;
virtual bool SetPlayMode(ePlayMode PlayMode);
+ virtual int PlayVideo(const uchar *Data, int Length);
+ virtual int PlayAudio(const uchar *Data, int Length);
public:
virtual int64_t GetSTC(void);
virtual void TrickSpeed(int Speed);
@@ -116,8 +121,6 @@ public:
virtual void StillPicture(const uchar *Data, int Length);
virtual bool Poll(cPoller &Poller, int TimeoutMs = 0);
virtual bool Flush(int TimeoutMs = 0);
- virtual int PlayVideo(const uchar *Data, int Length);
- virtual void PlayAudio(const uchar *Data, int Length);
// Receiver facilities