mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 11:18:54 +01:00
audio/internal/go2cpp: Increase the temporary buffer size
This commit is contained in:
parent
8e6c3a570e
commit
3abb7a3604
@ -149,7 +149,7 @@ func (p *Player) waitUntilUnpaused() bool {
|
||||
}
|
||||
|
||||
func (p *Player) loop() {
|
||||
const size = 1024
|
||||
const size = 4096
|
||||
|
||||
buf := make([]byte, size)
|
||||
dst := js.Global().Get("Uint8Array").New(size)
|
||||
|
Loading…
Reference in New Issue
Block a user