summaryrefslogtreecommitdiff
path: root/dxr3sysclock.h
diff options
context:
space:
mode:
Diffstat (limited to 'dxr3sysclock.h')
-rw-r--r--dxr3sysclock.h17
1 files changed, 10 insertions, 7 deletions
diff --git a/dxr3sysclock.h b/dxr3sysclock.h
index cc52e8e..d204c2e 100644
--- a/dxr3sysclock.h
+++ b/dxr3sysclock.h
@@ -27,27 +27,30 @@
// ==================================
// work with dxr3's clock
-class cDxr3SysClock
+class cDxr3SysClock
{
public:
- cDxr3SysClock(int fd_control, int fd_video, int fd_spu) : m_fdcontrol(fd_control),
- m_fdvideo(fd_video), m_fdspu(fd_spu), m_offset(0) {};
-
+ cDxr3SysClock(int fd_control, int fd_video, int fd_spu):
+ m_fdcontrol(fd_control),
+ m_fdvideo(fd_video),
+ m_fdspu(fd_spu),
+ m_offset(0) {};
+
virtual ~cDxr3SysClock() {};
-
+
public:
void SetSysClock(uint32_t scr);
uint32_t GetSysClock(void);
void SetPts(uint32_t pts);
void SetSpuPts(uint32_t pts);
-
+
protected:
int m_fdcontrol;
int m_fdvideo;
int m_fdspu;
uint32_t m_offset;
cMutex mutex;
-
+
protected:
cDxr3SysClock(); // you are not allowed to use this contructor
cDxr3SysClock(cDxr3SysClock&); // no copy constructor