Exemplo n.º 1
0
 void ReleaseClient()
 {
     Stop();
     m_asyncStats.Release();
     m_asyncTalk.Release();
     m_asyncStop.Release();
     m_asyncExport.Release();
     m_client.Release();
     m_hostName = "";
 }
Exemplo n.º 2
0
 public override void Stop()
 {
     if (isPlaying)
     {
         UseOutput(audio => { audio.Stop(); });
     }
     if (isServerTalking)
     {
         m_asyncStop = m_client.Stop();
     }
     m_asyncTalk.Release();
 }