mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-14 15:07: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 {
|
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