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

Android's OpenSL audio driver complains about members that remain open after app closure #85979

Closed
PierceLBrooks opened this issue Dec 9, 2023 · 0 comments · Fixed by #85955

Comments

@PierceLBrooks
Copy link
Contributor

PierceLBrooks commented Dec 9, 2023

Tested versions

4.2

System information

Android

Issue description

Under most app process closure circumstances, the OpenSL audio driver will complain while being destroyed about some of its members being left open as demonstrated by this ADB LogCat sample:

12-04 20:08:28.161 11819 11862 E libOpenSLES: Object::Destroy(0xb40000752d630930) for engine ignored; 2 total active objects
12-04 20:08:28.161 11819 11862 E libOpenSLES: Object::Destroy(0xb40000752d630930) for engine ignored; active object ID 2 at 0xb40000752d62fc50
12-04 20:08:28.161 11819 11862 E libOpenSLES: Object::Destroy(0xb40000752d630930) for engine ignored; active object ID 3 at 0xb40000755d61c230

I have already resolved this issue with my pull request at #85955

Steps to reproduce

According to @Alex2782 in his similar pull request at #85944 , anyone seeking to reproduce this behavior may simply press the back button on an Android device running a Godot app - including a build of the editor - until the app is fully send to the background.

Minimal reproduction project (MRP)

N/A

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants