| 48 | } |
| 49 | |
| 50 | XnStatus xnXmlReadWaveOutputMode(const TiXmlElement* pOpcode, XnWaveOutputMode* pWaveOutputMode) |
| 51 | { |
| 52 | XnStatus nRetVal = XN_STATUS_OK; |
| 53 | |
| 54 | nRetVal = xnXmlReadUInt32Attribute(pOpcode, "sampleRate", &pWaveOutputMode->nSampleRate); |
| 55 | XN_IS_STATUS_OK(nRetVal); |
| 56 | |
| 57 | nRetVal = xnXmlReadUInt16Attribute(pOpcode, "bitsPerSample", &pWaveOutputMode->nBitsPerSample); |
| 58 | XN_IS_STATUS_OK(nRetVal); |
| 59 | |
| 60 | nRetVal = xnXmlReadUInt8Attribute(pOpcode, "channels", &pWaveOutputMode->nChannels); |
| 61 | XN_IS_STATUS_OK(nRetVal); |
| 62 | |
| 63 | return (XN_STATUS_OK); |
| 64 | } |
| 65 | |
| 66 | XnStatus xnXmlReadCropping(const TiXmlElement* pOpcode, XnCropping* pCropping) |
| 67 | { |
no test coverage detected