Kodi Development 22.0
for Binary and Script based Add-Ons
 
Loading...
Searching...
No Matches

Inherits CStructHdl< AudioEngineFormat, AUDIO_ENGINE_FORMAT >.

Public Member Functions

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

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: