-
Notifications
You must be signed in to change notification settings - Fork 33
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
Audio play failure #445
Comments
只对于特定的音频会出错。zip包中音频为浏览器录制,浏览器 Arc,版本: |
Open
这边显示 是fs 不能进行seek导致的,zip 打开的文件时候需要支持 io.ReadSeeker & io.Closer 这两个接口 (可以尝试先解压) |
@JiepengTan 明白了,看起来要去 zipfs 里加;我们搞一下 |
那应该是有的音频在播放的时候不需要 fs seek,有的需要,所以引发问题 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
项目:empty-2.zip
其中有问题的音频:explosion.mp3.zip
在浏览器中运行游戏时,音频播放会失败(本地运行游戏时可以正常播放):
https://github.com/goplus/spx/blob/7f46dc7879e2320a9889f1396b9e592efb6d888d/audio.go#L44-L46
The text was updated successfully, but these errors were encountered: