From 6af90191c3420f43709cf720933b9e4dd992b62a Mon Sep 17 00:00:00 2001 From: Master Kwoth Date: Fri, 7 Jul 2017 10:12:56 +0200 Subject: [PATCH] Test not sending data --- src/NadekoBot/Services/Music/MusicPlayer.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NadekoBot/Services/Music/MusicPlayer.cs b/src/NadekoBot/Services/Music/MusicPlayer.cs index 49f2c99d..bf2dce7a 100644 --- a/src/NadekoBot/Services/Music/MusicPlayer.cs +++ b/src/NadekoBot/Services/Music/MusicPlayer.cs @@ -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);