OpenNI 1.3.2
Public Member Functions | List of all members
xn::AudioMetaData Class Reference

#include <XnCppWrapper.h>

Inheritance diagram for xn::AudioMetaData:
Inheritance graph

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 XnAudioMetaDataGetUnderlying () const
XnAudioMetaDataGetUnderlying ()

Additional Inherited Members

Detailed Description

Represents a MetaData object for generators producing audio data.

Constructor & Destructor Documentation

xn::AudioMetaData::AudioMetaData ( )
inline

Ctor.

Member Function Documentation

XnUInt16 xn::AudioMetaData::BitsPerSample ( ) const
inline

Gets the number of bits per channel in a sample.

XnUInt16& xn::AudioMetaData::BitsPerSample ( )
inline

Gets the number of bits per channel in a sample.

const XnAudioMetaData* xn::AudioMetaData::GetUnderlying ( ) const
inline

Gets the C object that is wrapped by this object.

Reimplemented from xn::OutputMetaData.

XnAudioMetaData* xn::AudioMetaData::GetUnderlying ( )
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.

Parameters
other[in] source object.
XnUInt8 xn::AudioMetaData::NumberOfChannels ( ) const
inline

Gets the number of channels in every sample.

XnUInt8& xn::AudioMetaData::NumberOfChannels ( )
inline

Gets the number of channels in every sample.

XnUInt32 xn::AudioMetaData::SampleRate ( ) const
inline

Gets the rate in which audio is sampled.

XnUInt32& xn::AudioMetaData::SampleRate ( )
inline

Gets the rate in which audio is sampled.


The documentation for this class was generated from the following file: