Replaced FFMpeg decryptor and taglib with AAXClean

This commit is contained in:
Michael Bucari-Tovo 2021-07-10 20:21:01 -06:00
parent f40df002a2
commit c3c8a6fa6b
12 changed files with 68 additions and 534 deletions

View file

@ -176,7 +176,7 @@ namespace AaxDecrypter
/// <summary>
/// Begins downloading <see cref="Uri"/> to <see cref="SaveFilePath"/> in a background thread.
/// </summary>
private void BeginDownloading()
public void BeginDownloading()
{
if (ContentLength != 0 && WritePosition == ContentLength)
{
@ -393,7 +393,7 @@ namespace AaxDecrypter
//read operation will block until file contains enough data
//to fulfil the request, or until cancelled.
while (requiredPosition > WritePosition && !isCancelled)
Thread.Sleep(0);
Thread.Sleep(2);
return _readFile.Read(buffer, offset, count);
}