Fix cuesheet write-to-stream

This commit is contained in:
Matt Nadareski
2020-09-16 15:57:22 -07:00
parent b3db7c547f
commit 0061de6b2e

View File

@@ -2,6 +2,7 @@
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
/// <remarks>
@@ -173,7 +174,7 @@ namespace DICUI.CueSheets
if (this.Files == null || this.Files.Count == 0)
return; // TODO: Make this throw an exception
using (var sw = new StreamWriter(stream))
using (var sw = new StreamWriter(stream, Encoding.ASCII, 1024, true))
{
if (!string.IsNullOrEmpty(this.Catalog))
sw.WriteLine($"CATALOG {this.Catalog}");