Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
ActiveAE::CSyncError Class Reference

#include <ActiveAEStream.h>

Public Member Functions

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

Protected Member Functions

double Get () const
 

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 ( std::chrono::milliseconds interval = std::chrono::milliseconds(100))
inline

◆ Get() [1/2]

double ActiveAE::CSyncError::Get ( ) const
inlineprotected

◆ Get() [2/2]

bool ActiveAE::CSyncError::Get ( double & error,
std::chrono::milliseconds interval = std::chrono::milliseconds(100) )
inline

◆ GetLastError()

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

◆ SetErrorInterval()

void ActiveAE::CSyncError::SetErrorInterval ( std::chrono::milliseconds interval = std::chrono::milliseconds(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: