Kodi Documentation  18.0
Kodi is an open source media player and entertainment hub.
ActiveAE::CSyncError Class Reference

#include <ActiveAEStream.h>

Public Member Functions

 CSyncError ()
 
void Add (double error)
 
void Flush (int interval=100)
 
void SetErrorInterval (int interval=100)
 
bool Get (double &error, int interval=100)
 
double GetLastError (unsigned int &time)
 
void Correction (double correction)
 

Protected Member Functions

double Get ()
 

Protected Attributes

double m_buffer
 
double m_lastError
 
int m_count
 
XbmcThreads::EndTime m_timer
 

Constructor & Destructor Documentation

§ CSyncError()

ActiveAE::CSyncError::CSyncError ( )
inline

Member Function Documentation

§ Add()

void ActiveAE::CSyncError::Add ( double  error)
inline

§ Correction()

void ActiveAE::CSyncError::Correction ( double  correction)
inline

§ Flush()

void ActiveAE::CSyncError::Flush ( int  interval = 100)
inline

§ Get() [1/2]

bool ActiveAE::CSyncError::Get ( double &  error,
int  interval = 100 
)
inline

§ Get() [2/2]

double ActiveAE::CSyncError::Get ( )
inlineprotected

§ GetLastError()

double ActiveAE::CSyncError::GetLastError ( unsigned int &  time)
inline

§ SetErrorInterval()

void ActiveAE::CSyncError::SetErrorInterval ( int  interval = 100)
inline

Member Data Documentation

§ m_buffer

double ActiveAE::CSyncError::m_buffer
protected

§ m_count

int ActiveAE::CSyncError::m_count
protected

§ m_lastError

double ActiveAE::CSyncError::m_lastError
protected

§ m_timer

XbmcThreads::EndTime ActiveAE::CSyncError::m_timer
protected

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