audio/internal/go2cpp: Remove the buffer size argument

This commit is contained in:
Hajime Hoshi 2021-01-13 22:30:46 +09:00
parent aeaa443bf2
commit 612676cb19

View File

@ -26,7 +26,7 @@ type Context struct {
}
func NewContext(sampleRate int) *Context {
v := js.Global().Get("go2cpp").Call("createAudio", sampleRate, 2, 2, 8192)
v := js.Global().Get("go2cpp").Call("createAudio", sampleRate, 2, 2)
return &Context{
v: v,
}