Application attempts to access audio even when module disabled
Description When building a project and explicitly excluding audio support, the built executable still attempts to access an audio device. If the deployment target doesn't include an audio device or libraries, this causes the application to crash. Building the executable also requires audio development libraries to be installed, even though the module is disabled.
To Reproduce
Create a new project.
Under Armory Exporter - Create a build config:
- Target: Linux C
Under
Armory Project - Modules- Set audio todisabledPublish the project, and build using the makefile.
Expected behavior The built executable doesn't reference the sound card at all, and building the executable doesn't require the inclusion of audio development libraries.
System Blender: 2.83 Armory: 20.10 (and earlier) OS: Ubuntu 20.04 (docker image) Graphics card: Geforce GTX 1080
Hi, are you sure that this isn't a Kha issue?
I honestly don't know, and have since moved to another engine.