mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-24 18:02:02 +01:00
audio: Smaller buffers (experimental)
This commit is contained in:
parent
5679103d71
commit
4a06198160
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user