MCPcopy Create free account
hub / github.com/OpenNI/OpenNI / xnGetAudioBuffer

Function xnGetAudioBuffer

Source/OpenNI/XnOpenNI.cpp:6693–6699  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6691}
6692
6693XN_C_API XnUChar* xnGetAudioBuffer(XnNodeHandle hInstance)
6694{
6695 XN_VALIDATE_INTERFACE_TYPE_RET(hInstance, XN_NODE_TYPE_AUDIO, NULL);
6696 XnAudioGeneratorInterfaceContainer* pInterface = (XnAudioGeneratorInterfaceContainer*)hInstance->pModuleInstance->pLoaded->pInterface;
6697 XnModuleNodeHandle hModuleNode = hInstance->pModuleInstance->hNode;
6698 return pInterface->Audio.GetAudioBuffer(hModuleNode);
6699}
6700XN_C_API XnUInt32 xnGetSupportedWaveOutputModesCount(XnNodeHandle hInstance)
6701{
6702 XN_VALIDATE_INTERFACE_TYPE_RET(hInstance, XN_NODE_TYPE_AUDIO, 0);

Callers 3

GetAudioBufferMethod · 0.85
xnUpdateAudioMetaDataFunction · 0.85

Calls 1

GetAudioBufferMethod · 0.45

Tested by

no test coverage detected