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

Method GetWaveOutputMode

Include/XnCppWrapper.h:8160–8163  ·  view source on GitHub ↗

* @brief Gets the current AudioGenerator node's wave output mode. This output mode * is used for generating the next audio packet. * * @param [out] OutputMode Current wave output mode. * * Remarks * * The wave output mode is contained in the XnWaveOutputMode struct. Each wave output * mode comprises settings for bits per sample, channel, and sample rate, as follows:

Source from the content-addressed store, hash-verified

8158 * mode comprises settings for bits per sample, channel, and sample rate, as follows:
8159 */
8160 inline XnStatus GetWaveOutputMode(XnWaveOutputMode& OutputMode) const
8161 {
8162 return xnGetWaveOutputMode(GetHandle(), &OutputMode);
8163 }
8164
8165 /**
8166 * @brief Registers an event handler for the 'Wave Output Mode Change' event.

Calls 2

xnGetWaveOutputModeFunction · 0.85
GetHandleFunction · 0.85

Tested by

no test coverage detected