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 AudioEngineChannel > | GetChannelLayout () 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_FORMAT * | GetCStructure () const |
operator AUDIO_ENGINE_FORMAT * () | |
operator const AUDIO_ENGINE_FORMAT * () const | |
const CStructHdl & | operator= (const AUDIO_ENGINE_FORMAT &right) |
const CStructHdl & | operator= (const CStructHdl &right) |
AUDIO_ENGINE_FORMAT * | release () |
Additional Inherited Members | |
Protected Attributes inherited from CStructHdl< AudioEngineFormat, AUDIO_ENGINE_FORMAT > | |
AUDIO_ENGINE_FORMAT * | m_cStructure |