mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-02-03 22:44:28 +01:00
audio: Revert size (due to noise on browsers)
This commit is contained in:
parent
4a06198160
commit
60eef4618d
@ -259,7 +259,7 @@ func (c *Context) loop() {
|
|||||||
c.pingCount--
|
c.pingCount--
|
||||||
c.m.Unlock()
|
c.m.Unlock()
|
||||||
|
|
||||||
const n = 256
|
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)
|
audiobinding.SetError(err)
|
||||||
return
|
return
|
||||||
|
Loading…
Reference in New Issue
Block a user