예제 #1
0
 public void Stop()
 {
     if (_capturer == null)
     {
         throw new InvalidOperationException("CaptureNotStarted");
     }
     _capturer.Stop();
     _capturer.Dispose(); _capturer = null;
 }
예제 #2
0
 public void Start(ITransport transport)
 {
     if (_capturer != null)
     {
         throw new InvalidOperationException("CaptureAlreadyStarted");
     }
     _capturer = new MmeCapturer(new RawAudioTransport(transport));
     _capturer.Initialize();
     _capturer.Start();
 }
예제 #3
0
 public MmeWaveInfo(MmeCapturer parent)
 {
     _encoder = parent._encoder;
 }