From a0a6de855d2eb9afc96d4c566c55249f29b205d6 Mon Sep 17 00:00:00 2001 From: Master Kwoth Date: Fri, 7 Jul 2017 10:21:40 +0200 Subject: [PATCH] test try 2 --- src/NadekoBot/Services/Music/MusicPlayer.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/NadekoBot/Services/Music/MusicPlayer.cs b/src/NadekoBot/Services/Music/MusicPlayer.cs index bf2dce7a..22b92ea2 100644 --- a/src/NadekoBot/Services/Music/MusicPlayer.cs +++ b/src/NadekoBot/Services/Music/MusicPlayer.cs @@ -206,6 +206,7 @@ namespace NadekoBot.Services.Music AdjustVolume(buffer, Volume); //await pcm.WriteAsync(buffer, 0, bytesRead, cancelToken).ConfigureAwait(false); unchecked { _bytesSent += bytesRead; } + await Task.Delay(20); await (pauseTaskSource?.Task ?? Task.CompletedTask); }