mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-24 18:58:54 +01:00
audio: Adjust buffer size (examples/audio might cause noises with /30)
This commit is contained in:
parent
7f320f9518
commit
bfb6a2bfe7
@ -21,7 +21,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
func (c *Context) bufferSize() int {
|
func (c *Context) bufferSize() int {
|
||||||
n := 30
|
n := 20
|
||||||
if web.IsMobileBrowser() {
|
if web.IsMobileBrowser() {
|
||||||
n = 10
|
n = 10
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user