diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2001-11-03 11:05:15 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2001-11-03 11:05:15 +0100 |
commit | d78d555b271078c10c2d2ad9b7f47d326f9bab8c (patch) | |
tree | b2820d9a3a6c54eac3f6058e0107e0a5c764e694 /ringbuffer.h | |
parent | 57bd015bcb3259e5850d80422851f98d96cfdf2a (diff) | |
download | vdr-d78d555b271078c10c2d2ad9b7f47d326f9bab8c.tar.gz vdr-d78d555b271078c10c2d2ad9b7f47d326f9bab8c.tar.bz2 |
Added PTS to the converted PCM audio when replaying a DVD
Diffstat (limited to 'ringbuffer.h')
-rw-r--r-- | ringbuffer.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/ringbuffer.h b/ringbuffer.h index f61d9e04..7e1025b1 100644 --- a/ringbuffer.h +++ b/ringbuffer.h @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: ringbuffer.h 1.4 2001/08/05 11:12:06 kls Exp $ + * $Id: ringbuffer.h 1.5 2001/11/03 10:41:33 kls Exp $ */ #ifndef __RINGBUFFER_H @@ -75,18 +75,22 @@ public: virtual ~cRingBufferLinear(); }; +enum eFrameType { ftUnknown, ftVideo, ftAudio, ftDolby }; + class cFrame { friend class cRingBufferFrame; private: cFrame *next; uchar *data; int count; + eFrameType type; int index; public: - cFrame(const uchar *Data, int Count, int Index = -1); + cFrame(const uchar *Data, int Count, eFrameType = ftUnknown, int Index = -1); ~cFrame(); const uchar *Data(void) const { return data; } int Count(void) const { return count; } + eFrameType Type(void) const { return type; } int Index(void) const { return index; } }; |