audio: Smaller buffers (experimental)

This commit is contained in:
Hajime Hoshi 2017-12-24 22:16:45 +09:00
parent 5679103d71
commit 4a06198160

View File

@ -259,7 +259,7 @@ func (c *Context) loop() {
c.pingCount--
c.m.Unlock()
const n = 4096
const n = 256
if _, err = io.CopyN(p, c.players, n); err != nil {
audiobinding.SetError(err)
return