mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-11 19:48:54 +01:00
audio: Fix comment
This commit is contained in:
parent
b15ad9c1d0
commit
697c23a807
@ -21,8 +21,8 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
func (c *Context) bufferSize() int {
|
func (c *Context) bufferSize() int {
|
||||||
// TODO: examples/audio doesn't work well with 1/30[s],
|
// TODO: On Chrome and Firefox, 1/30[s] doesn't work with 24000 or 48000 [Hz]
|
||||||
// the other examples work though. Fix this.
|
// at least on macOS.
|
||||||
n := 20
|
n := 20
|
||||||
if web.IsMobileBrowser() {
|
if web.IsMobileBrowser() {
|
||||||
n = 10
|
n = 10
|
||||||
|
Loading…
Reference in New Issue
Block a user