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

Function xnPlayBeep

Samples/NiSampleExtensionModule/RotatingDeviceExtension.cpp:44–53  ·  view source on GitHub ↗

--------------------------------------------------------------------------- Exported C Functions ---------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

42// Exported C Functions
43//---------------------------------------------------------------------------
44SAMPLE_DEVICE_API XnStatus xnPlayBeep(XnNodeHandle hNode)
45{
46 SampleRotatingDevice* pThis = GetRotatingDevicePointer(hNode);
47 if (pThis == NULL)
48 {
49 return XN_STATUS_INVALID_OPERATION;
50 }
51
52 return pThis->PlayBeep();
53}
54
55SAMPLE_DEVICE_API XnStatus xnSetViewAngle(XnNodeHandle hNode, XnDouble dAngle)
56{

Callers 1

PlayBeepMethod · 0.85

Calls 2

GetRotatingDevicePointerFunction · 0.85
PlayBeepMethod · 0.45

Tested by

no test coverage detected