virtual void Close() { if (h_ws) { WsADStop(h_ws); WsHandleClose(h_ws); h_ws = 0; } }
virtual ~RASP24Recorder() { if (h_ws) { WsADStop(h_ws); WsHandleClose(h_ws); } }
//-----------------------------------------------------// // stop and finish recording //-----------------------------------------------------// virtual void Stop() { boost::mutex::scoped_lock lk(mutex_buffer); state = STOP; WsADStop(h_ws); }