#include <XnCppWrapper.h>
Public Member Functions | |
AudioMetaData () | |
void | InitFrom (const AudioMetaData &other) |
XnUInt8 | NumberOfChannels () const |
XnUInt8 & | NumberOfChannels () |
XnUInt32 | SampleRate () const |
XnUInt32 & | SampleRate () |
XnUInt16 | BitsPerSample () const |
XnUInt16 & | BitsPerSample () |
const XnAudioMetaData * | GetUnderlying () const |
XnAudioMetaData * | GetUnderlying () |
Represents a MetaData object for generators producing audio data.
xn::AudioMetaData::AudioMetaData | ( | ) | [inline] |
Ctor.
XnUInt16& xn::AudioMetaData::BitsPerSample | ( | ) | [inline] |
Gets the number of bits per channel in a sample.
XnUInt16 xn::AudioMetaData::BitsPerSample | ( | ) | const [inline] |
Gets the number of bits per channel in a sample.
XnAudioMetaData* xn::AudioMetaData::GetUnderlying | ( | ) | [inline] |
Gets the C object that is wrapped by this object.
Reimplemented from xn::OutputMetaData.
const XnAudioMetaData* xn::AudioMetaData::GetUnderlying | ( | ) | const [inline] |
Gets the C object that is wrapped by this object.
Reimplemented from xn::OutputMetaData.
void xn::AudioMetaData::InitFrom | ( | const AudioMetaData & | other | ) | [inline] |
Shallow-Copies an Audio Meta Data object. Note that the data buffer is not copied, and that both object will point to the same buffer.
other | [in] source object. |
XnUInt8& xn::AudioMetaData::NumberOfChannels | ( | ) | [inline] |
Gets the number of channels in every sample.
XnUInt8 xn::AudioMetaData::NumberOfChannels | ( | ) | const [inline] |
Gets the number of channels in every sample.
XnUInt32& xn::AudioMetaData::SampleRate | ( | ) | [inline] |
Gets the rate in which audio is sampled.
XnUInt32 xn::AudioMetaData::SampleRate | ( | ) | const [inline] |
Gets the rate in which audio is sampled.