示例#1
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);
        }