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
ma_device_uninit crash on Android <= 10 #833
Comments
Sorry for the delay on this one. Unfortunately I was unable to replicate this. I tried using the "Pixel 2 XL API 27" emulator and it works fine here. However, I've pushed a potential fix to the dev branch. Are you able to give that a try without your |
I also tried the "Pixel 2 XL API 27" emulator without any problems! I tried with your updated dev branch and also by patching log
Seems like an AAudio bug on API 10 that doesn't want to close itself if it never got frames delivered or it does not have the time to instantiate the virtual Here an updated brief devices summary:
|
Hi, thanks for your amazing work!
I am developing a plugin with Flutter and I got crashes on Android devices and emulators with SDK <= 29.
Description:
I am using SoLoud c++ lib with miniaudio as the default audio backend.
On Android devices and emulators with SDK <= 29 (but not on Samsung Galaxy S9+ with Android 10 API 29), I get a crash when uninit the player. The relevant SoLoud source is here.
Seems related to AAudio and some buffers not freed, something similar to #466.
The crash occurs randomly when init-unint in a loop.
I tried also with the
dev
branch without luck.FYI here is the plugin issue.
My workaround is to disable AAudio for SDK <= 29:
Hope I have given you all the info.
Thanks in advance for your time.
Here the error log with `MA_DEBUG_OUTPUT` and `MINIAUDIO_IMPLEMENTATION` defined
The text was updated successfully, but these errors were encountered: