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

Public Member Functions

 CActiveAEBufferPoolResample (const AEAudioFormat &inputFormat, const AEAudioFormat &outputFormat, AEQuality quality)
 
bool Create (unsigned int totaltime, bool remap, bool upmix, bool normalize=true)
 
bool ResampleBuffers (int64_t timestamp=0)
 
void ConfigureResampler (bool normalizelevels, bool stereoupmix, AEQuality quality)
 
float GetDelay ()
 
void Flush ()
 
void SetDrain (bool drain)
 
void SetRR (double rr)
 
double GetRR () const
 
void FillBuffer ()
 
bool DoesNormalize () const
 
void ForceResampler (bool force)
 
- Public Member Functions inherited from ActiveAE::CActiveAEBufferPool
 CActiveAEBufferPool (const AEAudioFormat &format)
 
virtual bool Create (unsigned int totaltime)
 
CSampleBufferGetFreeBuffer ()
 
void ReturnBuffer (CSampleBuffer *buffer)
 

Public Attributes

AEAudioFormat m_inputFormat
 
std::deque< CSampleBuffer * > m_inputSamples
 
std::deque< CSampleBuffer * > m_outputSamples
 
- Public Attributes inherited from ActiveAE::CActiveAEBufferPool
AEAudioFormat m_format
 
std::deque< CSampleBuffer * > m_allSamples
 
std::deque< CSampleBuffer * > m_freeSamples
 

Protected Member Functions

void ChangeResampler ()
 

Protected Attributes

uint8_t * m_planes [16]
 
bool m_empty = true
 
bool m_drain = false
 
int64_t m_lastSamplePts = 0
 
bool m_remap = false
 
CSampleBufferm_procSample = nullptr
 
std::unique_ptr< IAEResamplem_resampler
 
double m_resampleRatio = 1.0
 
double m_centerMixLevel = M_SQRT1_2
 
bool m_fillPackets = false
 
bool m_normalize = true
 
bool m_changeResampler = false
 
bool m_forceResampler = false
 
AEQuality m_resampleQuality
 
bool m_stereoUpmix = false
 

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