audio/internal/go2cpp: Increase the temporary buffer size

This commit is contained in:
Hajime Hoshi 2021-01-11 21:56:47 +09:00
parent 8e6c3a570e
commit 3abb7a3604

View File

@ -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)