mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-27 11:12:44 +01:00
audio: Use safer buffer size as experiment (#451)
This commit is contained in:
parent
362f002d36
commit
dba7124e38
@ -18,5 +18,5 @@
|
|||||||
package audio
|
package audio
|
||||||
|
|
||||||
func (c *Context) bufferSize() int {
|
func (c *Context) bufferSize() int {
|
||||||
return c.sampleRate * channelNum * bytesPerSample / 30
|
return c.sampleRate * channelNum * bytesPerSample / 20
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user