audio: Use safer buffer size as experiment (#451)

This commit is contained in:
Hajime Hoshi 2017-11-23 23:31:21 +09:00
parent 362f002d36
commit dba7124e38

View File

@ -18,5 +18,5 @@
package audio
func (c *Context) bufferSize() int {
return c.sampleRate * channelNum * bytesPerSample / 30
return c.sampleRate * channelNum * bytesPerSample / 20
}