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

#include <ActiveAEStream.h>

Public Member Functions

 CActiveAEStreamBuffers (const AEAudioFormat &inputFormat, const AEAudioFormat &outputFormat, AEQuality quality)
 
virtual ~CActiveAEStreamBuffers ()
 
bool Create (unsigned int totaltime, bool remap, bool upmix, bool normalize=true)
 
void SetExtraData (int profile, enum AVMatrixEncoding matrix_encoding, enum AVAudioServiceType audio_service_type)
 
bool ProcessBuffers ()
 
void ConfigureResampler (bool normalizelevels, bool stereoupmix, AEQuality quality)
 
bool HasInputLevel (int level)
 
float GetDelay ()
 
void Flush ()
 
void SetDrain (bool drain)
 
bool IsDrained ()
 
void SetRR (double rr, double atempoThreshold)
 
double GetRR ()
 
void FillBuffer ()
 
bool DoesNormalize ()
 
void ForceResampler (bool force)
 
bool HasWork ()
 
CActiveAEBufferPoolGetResampleBuffers ()
 
CActiveAEBufferPoolGetAtempoBuffers ()
 

Public Attributes

AEAudioFormat m_inputFormat
 
std::deque< CSampleBuffer * > m_outputSamples
 
std::deque< CSampleBuffer * > m_inputSamples
 

Protected Attributes

CActiveAEBufferPoolResamplem_resampleBuffers
 
CActiveAEBufferPoolAtempom_atempoBuffers
 

Constructor & Destructor Documentation

§ CActiveAEStreamBuffers()

CActiveAEStreamBuffers::CActiveAEStreamBuffers ( const AEAudioFormat inputFormat,
const AEAudioFormat outputFormat,
AEQuality  quality 
)

§ ~CActiveAEStreamBuffers()

CActiveAEStreamBuffers::~CActiveAEStreamBuffers ( )
virtual

Member Function Documentation

§ ConfigureResampler()

void CActiveAEStreamBuffers::ConfigureResampler ( bool  normalizelevels,
bool  stereoupmix,
AEQuality  quality 
)

§ Create()

bool CActiveAEStreamBuffers::Create ( unsigned int  totaltime,
bool  remap,
bool  upmix,
bool  normalize = true 
)

§ DoesNormalize()

bool CActiveAEStreamBuffers::DoesNormalize ( )

§ FillBuffer()

void CActiveAEStreamBuffers::FillBuffer ( )

§ Flush()

void CActiveAEStreamBuffers::Flush ( )

§ ForceResampler()

void CActiveAEStreamBuffers::ForceResampler ( bool  force)

§ GetAtempoBuffers()

CActiveAEBufferPool * CActiveAEStreamBuffers::GetAtempoBuffers ( )

§ GetDelay()

float CActiveAEStreamBuffers::GetDelay ( )

§ GetResampleBuffers()

CActiveAEBufferPool * CActiveAEStreamBuffers::GetResampleBuffers ( )

§ GetRR()

double CActiveAEStreamBuffers::GetRR ( )

§ HasInputLevel()

bool CActiveAEStreamBuffers::HasInputLevel ( int  level)

§ HasWork()

bool CActiveAEStreamBuffers::HasWork ( )

§ IsDrained()

bool CActiveAEStreamBuffers::IsDrained ( )

§ ProcessBuffers()

bool CActiveAEStreamBuffers::ProcessBuffers ( )

§ SetDrain()

void CActiveAEStreamBuffers::SetDrain ( bool  drain)

§ SetExtraData()

void CActiveAEStreamBuffers::SetExtraData ( int  profile,
enum AVMatrixEncoding  matrix_encoding,
enum AVAudioServiceType  audio_service_type 
)
Todo:
Implement set dsp config with new AudioDSP buffer implementation

§ SetRR()

void CActiveAEStreamBuffers::SetRR ( double  rr,
double  atempoThreshold 
)

Member Data Documentation

§ m_atempoBuffers

CActiveAEBufferPoolAtempo* ActiveAE::CActiveAEStreamBuffers::m_atempoBuffers
protected

§ m_inputFormat

AEAudioFormat ActiveAE::CActiveAEStreamBuffers::m_inputFormat

§ m_inputSamples

std::deque<CSampleBuffer*> ActiveAE::CActiveAEStreamBuffers::m_inputSamples

§ m_outputSamples

std::deque<CSampleBuffer*> ActiveAE::CActiveAEStreamBuffers::m_outputSamples

§ m_resampleBuffers

CActiveAEBufferPoolResample* ActiveAE::CActiveAEStreamBuffers::m_resampleBuffers
protected

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