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

Public Member Functions

 CAudioSinkAE (CDVDClock *clock)
 
void SetVolume (float fVolume)
 
void SetDynamicRangeCompression (long drc)
 
void Pause ()
 
void Resume ()
 
bool Create (const DVDAudioFrame &audioframe, AVCodecID codec, bool needresampler)
 
bool IsValidFormat (const DVDAudioFrame &audioframe)
 
void Destroy (bool finish)
 
unsigned int AddPackets (const DVDAudioFrame &audioframe)
 
double GetPlayingPts ()
 
double GetCacheTime ()
 
double GetCacheTotal ()
 
double GetMaxDelay ()
 
double GetDelay ()
 
double GetSyncError ()
 
void SetSyncErrorCorrection (double correction)
 
double GetResampleRatio ()
 Returns the resample ratio, or 0.0 if unknown/invalid.
 
void SetResampleMode (int mode)
 
void Flush ()
 
void Drain ()
 
void AbortAddPackets ()
 
double GetClock () override
 
double GetClockSpeed () override
 
CAEStreamInfo::DataType GetPassthroughStreamType (AVCodecID codecId, int samplerate, int profile)
 

Protected Attributes

IAE::StreamPtr m_pAudioStream
 
double m_playingPts
 
double m_timeOfPts
 
double m_syncError
 
unsigned int m_syncErrorTime
 
double m_resampleRatio = 0.0
 
CCriticalSection m_critSection
 
AEDataFormat m_dataFormat
 
unsigned int m_sampleRate
 
int m_iBitsPerSample
 
bool m_bPassthrough
 
CAEChannelInfo m_channelLayout
 
CAEStreamInfo::DataType m_dataType
 
bool m_bPaused
 
std::atomic_bool m_bAbort
 
CDVDClockm_pClock
 

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