Added .mp3 export (#92)

* Update to larger bitrate

* Add support for sub-voice export

---------

Co-authored-by: katboi01 <59540382+katboi01@users.noreply.github.com>
This commit is contained in:
Evans Jahja
2025-07-20 14:18:58 +09:00
committed by GitHub
parent d48aa4488e
commit 956bbdb6d2
92 changed files with 7741 additions and 57 deletions
@@ -0,0 +1,16 @@
using System.IO;
public static class ExtendUtility
{
// Only useful before .NET 4
public static void CopyTo(this Stream input, Stream output)
{
byte[] buffer = new byte[16 * 1024]; // Fairly arbitrary size
int bytesRead;
while ((bytesRead = input.Read(buffer, 0, buffer.Length)) > 0)
{
output.Write(buffer, 0, bytesRead);
}
}
}