mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-26 11:48:55 +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 {
|
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{
|
return &Context{
|
||||||
v: v,
|
v: v,
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user