Functions
Audio Generator
Production Nodes Functionality
Collaboration diagram for Audio Generator:

Functions

XN_C_API XnStatus xnCreateAudioGenerator (XnContext *pContext, XnNodeHandle *phAudioGenerator, XnNodeQuery *pQuery, XnEnumerationErrors *pErrors)
 Creates an audio generator.
XN_C_API XnUCharxnGetAudioBuffer (XnNodeHandle hInstance)
XN_C_API void xnGetAudioMetaData (XnNodeHandle hInstance, XnAudioMetaData *pMetaData)
 Gets the current audio meta data.
XN_C_API XnStatus xnGetSupportedWaveOutputModes (XnNodeHandle hInstance, XnWaveOutputMode *aSupportedModes, XnUInt32 *pnCount)
XN_C_API XnUInt32 xnGetSupportedWaveOutputModesCount (XnNodeHandle hInstance)
XN_C_API XnStatus xnGetWaveOutputMode (XnNodeHandle hInstance, XnWaveOutputMode *OutputMode)
XN_C_API XnStatus xnRegisterToWaveOutputModeChanges (XnNodeHandle hInstance, XnStateChangedHandler handler, void *pCookie, XnCallbackHandle *phCallback)
XN_C_API XnStatus xnSetWaveOutputMode (XnNodeHandle hInstance, const XnWaveOutputMode *OutputMode)
XN_C_API void xnUnregisterFromWaveOutputModeChanges (XnNodeHandle hInstance, XnCallbackHandle hCallback)

Detailed Description

An Audio Generator node is a Generator that outputs audio data. It supports all Generator functions, and adds additional functions.


Function Documentation

XN_C_API XnStatus xnCreateAudioGenerator ( XnContext pContext,
XnNodeHandle phAudioGenerator,
XnNodeQuery pQuery,
XnEnumerationErrors pErrors 
)

Creates an audio generator.

Parameters:
pContext[in] The context in which to create the audio generator.
phAudioGenerator[out] A handle to the created audio generator.
pQuery[in] Optional. Can be used to select which audio generator to create. If not specified, this function may create any audio generator that is available.
pErrors[in] Optional. If provided, will be filled with information about audio generators that could not be created.
XN_C_API void xnGetAudioMetaData ( XnNodeHandle  hInstance,
XnAudioMetaData pMetaData 
)

Gets the current audio meta data.

Parameters:
hInstance[in] A handle to the instance.
pMetaData[in] The struct to be filled.
XN_C_API XnStatus xnGetSupportedWaveOutputModes ( XnNodeHandle  hInstance,
XnWaveOutputMode aSupportedModes,
XnUInt32 pnCount 
)
XN_C_API XnStatus xnSetWaveOutputMode ( XnNodeHandle  hInstance,
const XnWaveOutputMode OutputMode 
)


nao_openni
Author(s): Bener SUAY
autogenerated on Mon Jan 6 2014 11:27:52