mirror of
https://github.com/Stone-Red-Code/HyperbolicDownloader.git
synced 2026-09-09 07:46:26 +02:00
Add WAV streaming support
This commit is contained in:
@@ -141,7 +141,6 @@ public class DownloadCommands(HostsManager hostsManager, FilesManager filesManag
|
||||
ApiManager.SendNotificationMessageNewLine($"File name: {fileName}");
|
||||
ApiManager.SendNotificationMessageNewLine($"Starting download...");
|
||||
|
||||
int totalBytesRead = 0;
|
||||
|
||||
if (!Directory.Exists(directoryPath))
|
||||
{
|
||||
@@ -150,6 +149,7 @@ public class DownloadCommands(HostsManager hostsManager, FilesManager filesManag
|
||||
|
||||
using FileStream? fileStream = new FileStream(filePath, FileMode.Create);
|
||||
|
||||
int totalBytesRead = 0;
|
||||
int bytesPerSecond = 0;
|
||||
int transferRate = 0;
|
||||
TimeSpan timeRemaining = TimeSpan.Zero;
|
||||
|
||||
Reference in New Issue
Block a user