-
Notifications
You must be signed in to change notification settings - Fork 11
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
Playback during focus loss #35
Comments
Yep, this is handled here: wwise-godot-integration/wwise-gdnative/src/wwise_gdnative.cpp Lines 227 to 239 in 4465ab1
It's hardcoded right now, but ideally this should be an option in the project settings. Pushed the fix, should be available soon after the GitHub actions are completed. |
I gave this a quick try on an Android device. I'm a long time developer, but new to Android and Godot, so there may be something else needed. When I go to the phone's home screen, playback stops. When I switch back to the app, playback starts again. Thanks for being super responsive! Your work is excellent! |
Works on desktop, I will try it on my Android device later today! Not super experienced in working with mobile.. there may be some setting to keep the app alive. |
I've tried this out on an old Xiaomi Redmi Note 3 (Android 7.0) and on a newer Android 10 device. Switching to the home screen or locking while audio is playing works fine. If you applied the changes mentioned above it should work. Not sure what the cause of the problem is. Maybe try to activate and deactive the WwiseSettings script in the autoload tab of the project settings. Might be that the new If you manage to find time for a simple repro project I can take another look at this. :-) |
I'll try for a repro project. I may have goofed up on the settings. Should I close this for now or leave it going until I can test. It might be a few days. |
You can leave this issue open, does not bother me at all. |
Thanks. I'm testing between other things at work. I went back to a simple empty Godot project and I can build and deploy it. When I add in the Wwise features I'm getting a apksigner error. I'll try to track this down and get a working test. |
Success! I started with an empty app and checked the export at each step. Working great! Thanks! You are fantastic! Now I'm thinking about doing a similar type of integration project for Xamarin/MAUI apps. Hmm... Thanks again! |
Is there a way to continue Wwise playback during focus loss? This is a pretty important feature for an app that we're looking to develop with Godot.
The text was updated successfully, but these errors were encountered: