void XnDeviceBase::NewStreamDataCallback(XnDeviceStream* pSender, XnUInt64 nTimestamp, XnUInt32 nFrameID, void* pCookie) { XnDeviceBase* pThis = (XnDeviceBase*)pCookie; pThis->OnNewStreamData(pSender, nTimestamp, nFrameID); }
void XnDeviceBase::NewStreamDataCallback(XnDeviceStream* pSender, OniFrame* pFrame, void* pCookie) { XnDeviceBase* pThis = (XnDeviceBase*)pCookie; pThis->OnNewStreamData(pSender, pFrame); }