Пример #1
0
 virtual void Close() {
   if (h_ws) {
     WsADStop(h_ws);
     WsHandleClose(h_ws);
     h_ws = 0;
   }
 }
Пример #2
0
	virtual ~RASP24Recorder() 
	{
		if (h_ws) 
		{
			WsADStop(h_ws);
			WsHandleClose(h_ws);
		}
	}
Пример #3
0
	//-----------------------------------------------------//
	// stop and finish recording
	//-----------------------------------------------------//
	virtual void Stop() 
	{
		boost::mutex::scoped_lock lk(mutex_buffer);
		state = STOP;
		WsADStop(h_ws);
	}