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:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user