NateRickard / Plugin.AudioRecorder

Audio Recorder plugin for Xamarin and Windows
MIT License
164 stars 68 forks source link

Stream is closed in WriteWavHeader #47

Closed kenteman closed 3 years ago

kenteman commented 4 years ago

I want to use MemoryStream with "WriteWavHeader". but Stream is closed inside "WriteWavHeader".

using (var writer = new BinaryWriter (stream, Encoding.UTF8))

NateRickard commented 4 years ago

@kenteman that wraps an internal method. I can expose this as a public method if it will be useful to you.