public void SetFormat(WaveFormat format) { _playing = false; _inputBuffer = new BufferedSampleProvider(format, 12000); _output = new Resampler(new SourceWrapper(_inputBuffer), new ConstantRate()); _playing = false; }
public void SetFormat(WaveFormat format) { _playing = false; _inputBuffer = new BufferedSampleProvider(format, 12000); _output = new Resampler(new SourceWrapper(_inputBuffer), new ConstantRate()); _playing = false; }