Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
#include <AudioEngine.h>
Public Member Functions | |
void | SetDataFormat (enum AudioEngineDataFormat format) |
The stream's data format (eg, AUDIOENGINE_FMT_S16LE) | |
enum AudioEngineDataFormat | GetDataFormat () const |
To get with SetDataFormat changed values. | |
void | SetSampleRate (unsigned int rate) |
The stream's sample rate (eg, 48000) | |
unsigned int | GetSampleRate () const |
To get with SetSampleRate changed values. | |
void | SetEncodedRate (unsigned int rate) |
The encoded streams sample rate if a bitstream, otherwise undefined. | |
unsigned int | GetEncodedRate () const |
To get with SetEncodedRate changed values. | |
void | SetChannelLayout (const std::vector< enum AudioEngineChannel > &layout) |
The stream's channel layout. | |
std::vector< enum AudioEngineChannel > | GetChannelLayout () const |
To get with SetChannelLayout changed values. | |
void | SetFramesAmount (unsigned int frames) |
The number of frames per period. | |
unsigned int | GetFramesAmount () const |
To get with SetFramesAmount changed values. | |
void | SetFrameSize (unsigned int frameSize) |
The size of one frame in bytes. | |
unsigned int | GetFrameSize () const |
To get with SetFrameSize changed values. | |
bool | CompareFormat (const AudioEngineFormat *fmt) |
Function to compare the format structure with another. | |
Public Member Functions inherited from kodi::addon::CStructHdl< AudioEngineFormat, AUDIO_ENGINE_FORMAT > | |
CStructHdl () | |
CStructHdl (const CStructHdl &cppClass) | |
CStructHdl (const AUDIO_ENGINE_FORMAT *cStructure) | |
CStructHdl (AUDIO_ENGINE_FORMAT *cStructure) | |
const CStructHdl & | operator= (const CStructHdl &right) |
const CStructHdl & | operator= (const AUDIO_ENGINE_FORMAT &right) |
virtual | ~CStructHdl () |
operator AUDIO_ENGINE_FORMAT * () | |
operator const AUDIO_ENGINE_FORMAT * () const | |
const AUDIO_ENGINE_FORMAT * | GetCStructure () const |
AUDIO_ENGINE_FORMAT * | release () |
Additional Inherited Members | |
Protected Attributes inherited from kodi::addon::CStructHdl< AudioEngineFormat, AUDIO_ENGINE_FORMAT > | |
AUDIO_ENGINE_FORMAT * | m_cStructure |