Comments (9)
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.
from wwise-godot-integration.
Libs to replace:
Android
iOS
macOS
Windows
Linux
Replace this file in the wwise
folder: https://raw.githubusercontent.com/alessandrofama/wwise-godot-integration/main/wwise-gdnative/gdnative-demo/wwise/wwise_settings.gd
and disable this setting in the project settings (Wwise - Common User Settings):
from wwise-godot-integration.
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!
from wwise-godot-integration.
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.
from wwise-godot-integration.
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 Suspend At Focus Loss
option in the settings does not get applied correctly.
If you manage to find time for a simple repro project I can take another look at this. :-)
from wwise-godot-integration.
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.
from wwise-godot-integration.
You can leave this issue open, does not bother me at all.
from wwise-godot-integration.
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.
from wwise-godot-integration.
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!
from wwise-godot-integration.
Related Issues (20)
- Using Callbacks in conjunction with a Stop Fade Time causes a crash when exiting the tree HOT 10
- HTML5 support? HOT 1
- Godot 3.5 support HOT 5
- Official support for Wwise version 2021.1.5.7749 or higher HOT 3
- is Godot 3.5 compatible? HOT 1
- Do Audio files need to be within the project? HOT 1
- Error integrating Wwise - AK_InvalidID HOT 3
- Does this integration work with any other version of Wwise? HOT 1
- Console support? HOT 2
- No audio when exporting to HTML HOT 2
- Event ID not found HOT 5
- Spacial Audio issues HOT 1
- Godot 4.x Support HOT 5
- Wiki: suggestions for the `Building the GDExtension Library` page HOT 1
- Error loading extension (Godot 4.0.4, Wwise 2022.1.6) HOT 5
- Add support for Suspend/WakeupFromSuspend in wwise_runtime_manager HOT 2
- Parse error with wwise_id.gd [Godot 4.2, Wwise 2023.1] HOT 3
- InvalidID error while posting events [Godot 4.2, wwise 2023.1] HOT 2
- Error integrating Wwise - AK_InvalidID HOT 1
- set_game_object_output_bus_volume not callable without listener object HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wwise-godot-integration.