summaryrefslogtreecommitdiff
path: root/dxr3syncbuffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'dxr3syncbuffer.h')
-rw-r--r--dxr3syncbuffer.h9
1 files changed, 3 insertions, 6 deletions
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<uint32_t> samplerate;
Accessors<uint32_t> channels;
Accessors<uint32_t> aspectratio;
-
+ Accessors<uint32_t> pts;
private:
uint8_t* m_pData;
int m_count;
int m_length;
- uint32_t m_pts;
};
// ==================================