Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

replace audio parser with the parser of Ebiten #313

Merged
merged 1 commit into from
Sep 1, 2024

Conversation

qlli
Copy link
Contributor

@qlli qlli commented Aug 17, 2024

replace old audio parser of qiniu audio with the parser of Ebiten

@JiepengTan
Copy link
Collaborator

JiepengTan commented Aug 19, 2024

panic when run with "path": "water.ogg"
@qlli

{
 "path": "water.ogg",
 "rate": 11025,
 "sampleCount": 2912
}

panic: vorbis: invalid header [recovered]
panic: vorbis: invalid header

goroutine 40 [running]:
github.com/goplus/spx/internal/coroutine.(*Coroutines).CreateAndStart.func1.1()
F:/OS_Swap/goenv/spx_gp/internal/coroutine/coro.go:84 +0xfe
panic({0x9fa660?, 0xc000034a80?})
F:/Go22/src/runtime/panic.go:770 +0x132
github.com/goplus/spx.(*Game).Play__2(0xc000190000?, 0x9d3980?, 0xb7f960?)
F:/OS_Swap/goenv/spx_gp/game.go:1271 +0xfb
github.com/goplus/spx.(*Game).Play__1(...)
F:/OS_Swap/goenv/spx_gp/game.go:1261
main.(*Dragon).Main.func1()
tutorial/02-Dragon/Dragon.spx:12 +0xd7
github.com/goplus/spx.(*eventSinkMgr).doWhenStart.func1(0xc000446258?)
F:/OS_Swap/goenv/spx_gp/event.go:136 +0x112
github.com/goplus/spx.(*eventSink).asyncCall.func1(0xc0004cf970?)
F:/OS_Swap/goenv/spx_gp/event.go:56 +0x1b
github.com/goplus/spx/internal/coroutine.(*Coroutines).CreateAndStart.func1()
F:/OS_Swap/goenv/spx_gp/internal/coroutine/coro.go:88 +0xb3
created by github.com/goplus/spx/internal/coroutine.(*Coroutines).CreateAndStart in goroutine 50
F:/OS_Swap/goenv/spx_gp/internal/coroutine/coro.go:74 +0xd2

@xushiwei xushiwei merged commit bd0c27a into goplus:main Sep 1, 2024
3 checks passed
@nighca nighca mentioned this pull request Sep 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants