Fix CPU usage
parent
ddec87d0ba
commit
7dfcd14e68
|
@ -99,10 +99,6 @@ func IsPaused() bool {
|
|||
}
|
||||
|
||||
func update() {
|
||||
if pause {
|
||||
return
|
||||
}
|
||||
|
||||
mu.Lock()
|
||||
mixer.Stream(samples)
|
||||
mu.Unlock()
|
||||
|
|
Loading…
Reference in New Issue