test try 2

This commit is contained in:
Master Kwoth 2017-07-07 10:21:40 +02:00
parent 6af90191c3
commit a0a6de855d

View File

@ -206,6 +206,7 @@ namespace NadekoBot.Services.Music
AdjustVolume(buffer, Volume); AdjustVolume(buffer, Volume);
//await pcm.WriteAsync(buffer, 0, bytesRead, cancelToken).ConfigureAwait(false); //await pcm.WriteAsync(buffer, 0, bytesRead, cancelToken).ConfigureAwait(false);
unchecked { _bytesSent += bytesRead; } unchecked { _bytesSent += bytesRead; }
await Task.Delay(20);
await (pauseTaskSource?.Task ?? Task.CompletedTask); await (pauseTaskSource?.Task ?? Task.CompletedTask);
} }