test try 2
This commit is contained in:
parent
6af90191c3
commit
a0a6de855d
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user