mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
audio/internal/go2cpp: Remove the buffer size argument
This commit is contained in:
parent
aeaa443bf2
commit
612676cb19
@ -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,
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user