diff --git a/audio/audio.go b/audio/audio.go index 3f75ad17b..625c8e47c 100644 --- a/audio/audio.go +++ b/audio/audio.go @@ -256,7 +256,7 @@ func (c *Context) loop() { c.m.Unlock() const n = 4096 - if _, err = io.CopyN(p, c.players, n); err != nil { + if _, err := io.CopyN(p, c.players, n); err != nil { audiobinding.SetError(err) return }