kodi
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
CDVDClock Class Reference
Collaboration diagram for CDVDClock:
Collaboration graph
[legend]

Public Member Functions

double GetClock (bool interpolated=true)
 
double GetClock (double &absolute, bool interpolated=true)
 
double ErrorAdjust (double error, const char *log)
 
void Discontinuity (double clock, double absolute)
 
void Discontinuity (double clock=0LL)
 
void Reset ()
 
void SetSpeed (int iSpeed)
 
void SetSpeedAdjust (double adjust)
 
double GetSpeedAdjust ()
 
double GetClockSpeed ()
 get the current speed of the clock relative normal system time
 
int UpdateFramerate (double fps, double *interval=NULL)
 
void SetMaxSpeedAdjust (double speed)
 
double GetAbsoluteClock (bool interpolated=true)
 
double GetFrequency ()
 
bool GetClockInfo (int &MissedVblanks, double &ClockSpeed, double &RefreshRate) const
 
void SetVsyncAdjust (double adjustment)
 
double GetVsyncAdjust ()
 
void Pause (bool pause)
 
void Advance (double time)
 

Protected Member Functions

double SystemToAbsolute (int64_t system)
 
int64_t AbsoluteToSystem (double absolute)
 
double SystemToPlaying (int64_t system)
 

Protected Attributes

CCriticalSection m_critSection
 
int64_t m_systemUsed
 
int64_t m_startClock
 
int64_t m_pauseClock
 
double m_iDisc
 
bool m_bReset
 
bool m_paused
 
int m_speedAfterPause
 
std::unique_ptr< CVideoReferenceClockm_videoRefClock
 
int64_t m_systemFrequency
 
int64_t m_systemOffset
 
CCriticalSection m_systemsection
 
int64_t m_systemAdjust
 
int64_t m_lastSystemTime
 
double m_speedAdjust
 
double m_vSyncAdjust
 
double m_frameTime
 
double m_maxspeedadjust
 
CCriticalSection m_speedsection
 

The documentation for this class was generated from the following files: