From b3d4020a37f249a353e425b0000d41606e756e57 Mon Sep 17 00:00:00 2001 From: Christian Gmeiner Date: Sat, 9 Jan 2010 20:26:34 +0100 Subject: add Accessors for pts in cFixedLengthFrame --- dxr3syncbuffer.h | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'dxr3syncbuffer.h') diff --git a/dxr3syncbuffer.h b/dxr3syncbuffer.h index d14bba7..9b84abd 100644 --- a/dxr3syncbuffer.h +++ b/dxr3syncbuffer.h @@ -38,29 +38,26 @@ const uint32_t UNKNOWN_ASPECT_RATIO = 0xFFFFFFFF; class cFixedLengthFrame : private Uncopyable { public: cFixedLengthFrame() : samplerate(UNKNOWN_DATA_RATE), channels(UNKNOWN_CHANNEL_COUNT), aspectratio(UNKNOWN_ASPECT_RATIO), - m_count(0), m_length(0), m_pts(0) + pts(0), m_count(0), m_length(0) {} ~cFixedLengthFrame(); void Init(uint32_t lenght); - void CopyFrame(const uint8_t* pStart, int length, uint32_t pts); + void CopyFrame(const uint8_t* pStart, int length); uint8_t* GetData(void); int GetCount(void); - uint32_t GetPts(void); - void SetPts(uint32_t pts); Accessors samplerate; Accessors channels; Accessors aspectratio; - + Accessors pts; private: uint8_t* m_pData; int m_count; int m_length; - uint32_t m_pts; }; // ================================== -- cgit v1.2.3