diff --git a/src/SoundMaker/WaveFile/WaveWriter.cs b/src/SoundMaker/WaveFile/WaveWriter.cs index f54673c..a67c66f 100644 --- a/src/SoundMaker/WaveFile/WaveWriter.cs +++ b/src/SoundMaker/WaveFile/WaveWriter.cs @@ -36,7 +36,7 @@ public void Write(string path) /// stream public void Write(Stream stream) { - using var writer = new BinaryWriter(stream); + var writer = new BinaryWriter(stream); foreach (var chunk in Chunks) { writer.Write(chunk.GetBytes());