mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-26 03:38:55 +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