/// <summary> /// Starting address for audio capture thread. /// </summary> /// <param name="pParam"> /// Thread data passed to the function using the lpParameter parameter of the CreateThread function. /// </param> /// <returns>Non-zero if thread ended successfully, zero in case of failure</returns> DWORD WINAPI KinectAudioStream::CaptureThread(LPVOID pParam) { KinectAudioStream *pthis = (KinectAudioStream *) pParam; return pthis->CaptureThread(); }
/// <summary> /// Starting address for audio capture thread. /// </summary> /// <param name="pParam"> /// Thread data passed to the function using the lpParameter parameter of the CreateThread function. /// </param> /// <returns>Non-zero if thread ended successfully, zero in case of failure</returns> DWORD WINAPI KinectAudioStream::CaptureThread(LPVOID pParam) { KinectAudioStream *pthis = reinterpret_cast<KinectAudioStream*>(pParam); return pthis->CaptureThread(); }