Kodi Development  20.0
for Binary and Script based Add-Ons

Inherits CStructHdl< AudioEngineFormat, AUDIO_ENGINE_FORMAT >.

Public Member Functions

bool CompareFormat (const AudioEngineFormat *fmt)
 Function to compare the format structure with another. More...
 
std::vector< enum AudioEngineChannelGetChannelLayout () const
 To get with SetChannelLayout changed values. More...
 
enum AudioEngineDataFormat GetDataFormat () const
 To get with SetDataFormat changed values. More...
 
unsigned int GetEncodedRate () const
 To get with SetEncodedRate changed values. More...
 
unsigned int GetFramesAmount () const
 To get with SetFramesAmount changed values. More...
 
unsigned int GetFrameSize () const
 To get with SetFrameSize changed values. More...
 
unsigned int GetSampleRate () const
 To get with SetSampleRate changed values. More...
 
void SetChannelLayout (const std::vector< enum AudioEngineChannel > &layout)
 The stream's channel layout. More...
 
void SetDataFormat (enum AudioEngineDataFormat format)
 The stream's data format (eg, AUDIOENGINE_FMT_S16LE) More...
 
void SetEncodedRate (unsigned int rate)
 The encoded streams sample rate if a bitstream, otherwise undefined. More...
 
void SetFramesAmount (unsigned int frames)
 The number of frames per period. More...
 
void SetFrameSize (unsigned int frameSize)
 The size of one frame in bytes. More...
 
void SetSampleRate (unsigned int rate)
 The stream's sample rate (eg, 48000) More...
 
- Public Member Functions inherited from CStructHdl< AudioEngineFormat, AUDIO_ENGINE_FORMAT >
 CStructHdl (AUDIO_ENGINE_FORMAT *cStructure)
 
 CStructHdl (const AUDIO_ENGINE_FORMAT *cStructure)
 
 CStructHdl (const AudioEngineFormat &cppClass)
 
const AUDIO_ENGINE_FORMATGetCStructure () const
 
 operator AUDIO_ENGINE_FORMAT * ()
 
 operator const AUDIO_ENGINE_FORMAT * () const
 
const CStructHdloperator= (const AUDIO_ENGINE_FORMAT &right)
 
const CStructHdloperator= (const CStructHdl &right)
 

Additional Inherited Members

- Protected Attributes inherited from CStructHdl< AudioEngineFormat, AUDIO_ENGINE_FORMAT >
AUDIO_ENGINE_FORMATm_cStructure
 

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