mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +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
|
||||
|
||||
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