summaryrefslogtreecommitdiff
path: root/dvbdevice.h
diff options
context:
space:
mode:
Diffstat (limited to 'dvbdevice.h')
-rw-r--r--dvbdevice.h19
1 files changed, 12 insertions, 7 deletions
diff --git a/dvbdevice.h b/dvbdevice.h
index 1817f37..233515d 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.32 2005/01/06 13:30:51 kls Exp $
*/
#ifndef __DVBDEVICE_H
@@ -90,15 +90,20 @@ 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 int GetAudioChannelDevice(void);
+ virtual void SetAudioChannelDevice(int AudioChannel);
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 +111,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 +123,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