Test not sending data

This commit is contained in:
Master Kwoth 2017-07-07 10:12:56 +02:00
parent 793cbdf608
commit 6af90191c3

View File

@ -204,7 +204,7 @@ namespace NadekoBot.Services.Music
&& (MaxPlaytimeSeconds <= 0 || MaxPlaytimeSeconds >= CurrentTime.TotalSeconds))
{
AdjustVolume(buffer, Volume);
await pcm.WriteAsync(buffer, 0, bytesRead, cancelToken).ConfigureAwait(false);
//await pcm.WriteAsync(buffer, 0, bytesRead, cancelToken).ConfigureAwait(false);
unchecked { _bytesSent += bytesRead; }
await (pauseTaskSource?.Task ?? Task.CompletedTask);