Пример #1
0
 public void Exit()
 {
     Streaming = false;
     Client?.Close();
     Client?.Dispose();
     Client2114?.Close();
     Client2114?.Dispose();
     Task.Run(() => StreamEnd?.Invoke());
 }
Пример #2
0
 void IXAudio2VoiceCallback.OnStreamEnd()
 {
     StreamEnd?.Invoke(this, EventArgs.Empty);
 }