Example #1
0
 public void Dispose()
 {
     WavePipe.Dispose();
     WaveOut.Stop();
     WaveIn.StopRecording();
     WaveOut.Dispose();
     WaveIn.Dispose();
 }
Example #2
0
        private void Configure(IWavePipeConfiguration configuration)
        {
            WavePipe?.Dispose();
            WaveIn?.Dispose();
            WaveOut?.Dispose();

            WaveIn   = InputSource.Open(configuration);
            WaveOut  = OutputSource.Open(configuration);
            WavePipe = new WavePipe(InputSource, OutputSource, configuration);
        }
Example #3
0
 public void Stop()
 {
     WavePipe.Stop();
 }
Example #4
0
 public void Start()
 {
     WavePipe.Start();
 }