audio: Use :=

This commit is contained in:
Hajime Hoshi 2017-12-30 21:18:34 +09:00
parent 65c0bf55fc
commit 97ec367e23

View File

@ -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
}