From c14d4538b86d2af5415d9c24449a148083119941 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()