| 3697 | } |
| 3698 | |
| 3699 | XN_C_API XnStatus xnSetRecorderDestination(XnNodeHandle hRecorder, XnRecordMedium destType, const XnChar *strDest) |
| 3700 | { |
| 3701 | XN_VALIDATE_INPUT_PTR(hRecorder); |
| 3702 | XN_VALIDATE_INTERFACE_TYPE(hRecorder, XN_NODE_TYPE_RECORDER); |
| 3703 | XN_VALIDATE_CHANGES_ALLOWED(hRecorder); |
| 3704 | //Get recorder object |
| 3705 | xn::RecorderImpl *pRecorderImpl = dynamic_cast<xn::RecorderImpl*>(hRecorder->pPrivateData); |
| 3706 | XN_VALIDATE_PTR(pRecorderImpl, XN_STATUS_ERROR); |
| 3707 | XnStatus nRetVal = pRecorderImpl->SetDestination(destType, strDest); |
| 3708 | XN_IS_STATUS_OK(nRetVal); |
| 3709 | return XN_STATUS_OK; |
| 3710 | } |
| 3711 | |
| 3712 | XN_C_API XnStatus XN_C_DECL xnGetRecorderDestination(XnNodeHandle hRecorder, XnRecordMedium* pDestType, XnChar* strDest, XnUInt32 nBufSize) |
| 3713 | { |
no test coverage detected