-
Notifications
You must be signed in to change notification settings - Fork 633
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
安卓9.0播放音频闪退 playWav() #37
Comments
解决了吗? |
思考是音频编解码问题,但还没有试
|
我猜这个应该是跟Android的存储权限导致的 他的SDK可能没有优化Android11以前的存储权限 11之前 特别是10之前的权限关于这个获取本地存储操作不太一样 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
在安卓9.0系统中,正常打开App,正常下载基础配置文件,正常下载预览的模型文件,进入播放页面后,渲染出数字人模型,点击播放音频即闪退。试过多个安卓9.0模拟器也闪退。
硬件:华为note10, 系统鸿蒙:2.0.0,系统底层:安卓9.0
定位错误类:
CallActivity.kt - playWav() - duix?.playAudio(wavFile.absolutePath)
mHandler.sendMessage(msg);
DUIXThread.java - loadAudio
int all_bnf = scrfdncnn.onewav(path, ""); // 闪退代码
2024-07-03 16:08:14.127 1729-1852 InputDispatcher system_process E channel 'befb38c ai.guiji.duix.test/ai.guiji.duix.test.ui.activity.CallActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
---------------------------- PROCESS ENDED (7376) for package ai.guiji.duix.test ----------------------------
2024-07-03 16:08:14.127 1729-1852 InputDispatcher system_process E channel '4adc63c ai.guiji.duix.test/ai.guiji.duix.test.ui.activity.MainActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
---------------------------- PROCESS STARTED (7898) for package ai.guiji.duix.test ----------------------------
The text was updated successfully, but these errors were encountered: