From 7dfcd14e68330d0ac08a6cdd5f9219df8a80076b Mon Sep 17 00:00:00 2001 From: Stein Ivar Berghei Date: Fri, 18 Nov 2022 23:22:16 +0100 Subject: [PATCH] Fix CPU usage --- speaker/discord.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/speaker/discord.go b/speaker/discord.go index 849da7f..f704c6b 100644 --- a/speaker/discord.go +++ b/speaker/discord.go @@ -99,10 +99,6 @@ func IsPaused() bool { } func update() { - if pause { - return - } - mu.Lock() mixer.Stream(samples) mu.Unlock()