diff options
| author | cvs2svn <admin@example.com> | 2008-02-28 06:10:55 +0000 |
|---|---|---|
| committer | cvs2svn <admin@example.com> | 2008-02-28 06:10:55 +0000 |
| commit | f676de20d91ba1cc58b8eaaf2f6b931851c2063a (patch) | |
| tree | 69a3aa7a4da079ef4de5aa12ab0563d2945f2a23 /tools/time_pts.h | |
| parent | 4e3b041c65f36dd8729ca2b5fe224461a2166f6d (diff) | |
| download | xineliboutput-f676de20d91ba1cc58b8eaaf2f6b931851c2063a.tar.gz xineliboutput-f676de20d91ba1cc58b8eaaf2f6b931851c2063a.tar.bz2 | |
This commit was manufactured by cvs2svn to create branch 'unlabeled-1.3.2'.
Diffstat (limited to 'tools/time_pts.h')
| -rw-r--r-- | tools/time_pts.h | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/tools/time_pts.h b/tools/time_pts.h deleted file mode 100644 index 8222d29f..00000000 --- a/tools/time_pts.h +++ /dev/null @@ -1,38 +0,0 @@ -/* - * time_pts.h: Adjustable clock in PTS units - * - * See the main source file 'xineliboutput.c' for copyright information and - * how to reach the author. - * - * $Id: time_pts.h,v 1.1 2007-01-06 03:39:15 phintuka Exp $ - * - */ - -#ifndef __TIME_PTS_H -#define __TIME_PTS_H - -#include <stdint.h> // int64_t -#include <sys/time.h> // struct timeval - - -class cTimePts -{ - private: - int64_t begin; /* Start time (PTS) */ - struct timeval tbegin; /* Start time (real time) */ - bool m_Paused; - int m_Multiplier; - bool m_Monotonic; - - public: - cTimePts(void); - - int64_t Now(void); - void Set(int64_t Pts = 0LL); - - void Pause(void); - void Resume(void); - void TrickSpeed(int Multiplier); -}; - -#endif // __TIME_PTS_H |
