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

#include <ActiveAE.h>

Classes

struct  StreamStats
 

Public Member Functions

void Reset (unsigned int sampleRate, bool pcm)
 
void UpdateSinkDelay (const AEDelayStatus &status, int samples)
 
void AddSamples (int samples, const std::list< CActiveAEStream * > &streams)
 
void GetDelay (AEDelayStatus &status)
 
void AddStream (unsigned int streamid)
 
void RemoveStream (unsigned int streamid)
 
void UpdateStream (CActiveAEStream *stream)
 
void GetDelay (AEDelayStatus &status, CActiveAEStream *stream)
 
void GetSyncInfo (CAESyncInfo &info, CActiveAEStream *stream)
 
float GetCacheTime (CActiveAEStream *stream)
 
float GetCacheTotal ()
 
float GetMaxDelay () const
 
float GetWaterLevel ()
 
void SetSuspended (bool state)
 
void SetCurrentSinkFormat (const AEAudioFormat &SinkFormat)
 
void SetSinkCacheTotal (float time)
 
void SetSinkLatency (float time)
 
void SetSinkNeedIec (bool needIEC)
 
bool IsSuspended ()
 
AEAudioFormat GetCurrentSinkFormat ()
 

Protected Attributes

float m_sinkCacheTotal
 
float m_sinkLatency
 
int m_bufferedSamples
 
unsigned int m_sinkSampleRate
 
AEDelayStatus m_sinkDelay
 
bool m_suspended
 
AEAudioFormat m_sinkFormat
 
bool m_pcmOutput
 
bool m_sinkNeedIecPack {false}
 
CCriticalSection m_lock
 
std::vector< StreamStatsm_streamStats
 

Member Function Documentation

◆ AddSamples()

void CEngineStats::AddSamples ( int samples,
const std::list< CActiveAEStream * > & streams )

◆ AddStream()

void CEngineStats::AddStream ( unsigned int streamid)

◆ GetCacheTime()

float CEngineStats::GetCacheTime ( CActiveAEStream * stream)

◆ GetCacheTotal()

float CEngineStats::GetCacheTotal ( )

◆ GetCurrentSinkFormat()

AEAudioFormat CEngineStats::GetCurrentSinkFormat ( )

◆ GetDelay() [1/2]

void CEngineStats::GetDelay ( AEDelayStatus & status)

◆ GetDelay() [2/2]

void CEngineStats::GetDelay ( AEDelayStatus & status,
CActiveAEStream * stream )

◆ GetMaxDelay()

float CEngineStats::GetMaxDelay ( ) const

◆ GetSyncInfo()

void CEngineStats::GetSyncInfo ( CAESyncInfo & info,
CActiveAEStream * stream )

◆ GetWaterLevel()

float CEngineStats::GetWaterLevel ( )

◆ IsSuspended()

bool CEngineStats::IsSuspended ( )

◆ RemoveStream()

void CEngineStats::RemoveStream ( unsigned int streamid)

◆ Reset()

void CEngineStats::Reset ( unsigned int sampleRate,
bool pcm )

◆ SetCurrentSinkFormat()

void CEngineStats::SetCurrentSinkFormat ( const AEAudioFormat & SinkFormat)

◆ SetSinkCacheTotal()

void ActiveAE::CEngineStats::SetSinkCacheTotal ( float time)
inline

◆ SetSinkLatency()

void ActiveAE::CEngineStats::SetSinkLatency ( float time)
inline

◆ SetSinkNeedIec()

void ActiveAE::CEngineStats::SetSinkNeedIec ( bool needIEC)
inline

◆ SetSuspended()

void CEngineStats::SetSuspended ( bool state)

◆ UpdateSinkDelay()

void CEngineStats::UpdateSinkDelay ( const AEDelayStatus & status,
int samples )

◆ UpdateStream()

void CEngineStats::UpdateStream ( CActiveAEStream * stream)

Member Data Documentation

◆ m_bufferedSamples

int ActiveAE::CEngineStats::m_bufferedSamples
protected

◆ m_lock

CCriticalSection ActiveAE::CEngineStats::m_lock
protected

◆ m_pcmOutput

bool ActiveAE::CEngineStats::m_pcmOutput
protected

◆ m_sinkCacheTotal

float ActiveAE::CEngineStats::m_sinkCacheTotal
protected

◆ m_sinkDelay

AEDelayStatus ActiveAE::CEngineStats::m_sinkDelay
protected

◆ m_sinkFormat

AEAudioFormat ActiveAE::CEngineStats::m_sinkFormat
protected

◆ m_sinkLatency

float ActiveAE::CEngineStats::m_sinkLatency
protected

◆ m_sinkNeedIecPack

bool ActiveAE::CEngineStats::m_sinkNeedIecPack {false}
protected

◆ m_sinkSampleRate

unsigned int ActiveAE::CEngineStats::m_sinkSampleRate
protected

◆ m_streamStats

std::vector<StreamStats> ActiveAE::CEngineStats::m_streamStats
protected

◆ m_suspended

bool ActiveAE::CEngineStats::m_suspended
protected

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