#include <XnCppWrapper.h>
List of all members.
Detailed Description
Represents a Mock Audio Generator node
Constructor & Destructor Documentation
xn::MockAudioGenerator::MockAudioGenerator |
( |
XnNodeHandle |
hNode = NULL |
) |
[inline] |
xn::MockAudioGenerator::MockAudioGenerator |
( |
const NodeWrapper & |
other |
) |
[inline] |
Member Function Documentation
XnStatus xn::MockAudioGenerator::Create |
( |
Context & |
context, |
|
|
const XnChar * |
strName = NULL | |
|
) |
| | [inline] |
Creates a mock audio generator
- Parameters:
-
[in] | context | The context in which the node should be generated |
[in] | strName | Optional. The name of the new node. |
XnStatus xn::MockAudioGenerator::CreateBasedOn |
( |
AudioGenerator & |
other, |
|
|
const XnChar * |
strName = NULL | |
|
) |
| | [inline] |
Creates a mock audio generator, copying the initial state from another audio generator.
- Parameters:
-
[in] | other | The audio generator to copy state from |
[in] | strName | Optional. The name of the new node. |
XnStatus xn::MockAudioGenerator::SetData |
( |
const AudioMetaData & |
audioMD, |
|
|
XnUInt32 |
nFrameID, |
|
|
XnUInt64 |
nTimestamp | |
|
) |
| | [inline] |
Sets the data of the mock node from a meta data object, overriding frame ID and timestamp
- Parameters:
-
[in] | audioMD | Object to take data from |
[in] | nFrameID | Frame ID |
[in] | nTimestamp | Timestamp |
XnStatus xn::MockAudioGenerator::SetData |
( |
XnUInt32 |
nFrameID, |
|
|
XnUInt64 |
nTimestamp, |
|
|
XnUInt32 |
nDataSize, |
|
|
const XnUInt8 * |
pAudioBuffer | |
|
) |
| | [inline] |
Sets the data of the mock node from a meta data object
- Parameters:
-
[in] | audioMD | Object to take data from |
The documentation for this class was generated from the following file: