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 to disabled
Publish 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.
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:Armory Project - Modules
- Set audio todisabled
Publish 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