#include <XnCppWrapper.h>
Public Member Functions | |
AudioMetaData () | |
Ctor. | |
XnUInt16 | BitsPerSample () const |
Gets the number of bits per channel in a sample. | |
XnUInt16 & | BitsPerSample () |
Gets the number of bits per channel in a sample. | |
const XnAudioMetaData * | GetUnderlying () const |
XnAudioMetaData * | GetUnderlying () |
void | InitFrom (const AudioMetaData &other) |
XnUInt8 | NumberOfChannels () const |
Gets the number of channels in every sample. | |
XnUInt8 & | NumberOfChannels () |
Gets the number of channels in every sample. | |
XnUInt32 | SampleRate () const |
Gets the rate in which audio is sampled. | |
XnUInt32 & | SampleRate () |
Gets the rate in which audio is sampled. | |
Private Member Functions | |
AudioMetaData (const AudioMetaData &other) | |
AudioMetaData & | operator= (const AudioMetaData &) |
Private Attributes | |
XnAudioMetaData | m_audio |
XnBool | m_bAllocated |
Represents a MetaData object for generators producing audio data.
Definition at line 796 of file XnCppWrapper.h.
xn::AudioMetaData::AudioMetaData | ( | ) | [inline] |
Ctor.
Definition at line 800 of file XnCppWrapper.h.
xn::AudioMetaData::AudioMetaData | ( | const AudioMetaData & | other | ) | [private] |
XnUInt16 xn::AudioMetaData::BitsPerSample | ( | ) | const [inline] |
Gets the number of bits per channel in a sample.
Definition at line 827 of file XnCppWrapper.h.
XnUInt16& xn::AudioMetaData::BitsPerSample | ( | ) | [inline] |
Gets the number of bits per channel in a sample.
Definition at line 829 of file XnCppWrapper.h.
const XnAudioMetaData* xn::AudioMetaData::GetUnderlying | ( | ) | const [inline] |
Gets the C object that is wrapped by this object.
Reimplemented from xn::OutputMetaData.
Definition at line 832 of file XnCppWrapper.h.
XnAudioMetaData* xn::AudioMetaData::GetUnderlying | ( | ) | [inline] |
Gets the C object that is wrapped by this object.
Reimplemented from xn::OutputMetaData.
Definition at line 834 of file XnCppWrapper.h.
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. |
Definition at line 811 of file XnCppWrapper.h.
XnUInt8 xn::AudioMetaData::NumberOfChannels | ( | ) | const [inline] |
Gets the number of channels in every sample.
Definition at line 817 of file XnCppWrapper.h.
XnUInt8& xn::AudioMetaData::NumberOfChannels | ( | ) | [inline] |
Gets the number of channels in every sample.
Definition at line 819 of file XnCppWrapper.h.
AudioMetaData& xn::AudioMetaData::operator= | ( | const AudioMetaData & | ) | [private] |
XnUInt32 xn::AudioMetaData::SampleRate | ( | ) | const [inline] |
Gets the rate in which audio is sampled.
Definition at line 822 of file XnCppWrapper.h.
XnUInt32& xn::AudioMetaData::SampleRate | ( | ) | [inline] |
Gets the rate in which audio is sampled.
Definition at line 824 of file XnCppWrapper.h.
XnAudioMetaData xn::AudioMetaData::m_audio [private] |
Definition at line 841 of file XnCppWrapper.h.
XnBool xn::AudioMetaData::m_bAllocated [private] |
Definition at line 842 of file XnCppWrapper.h.