armory3d / armory

3D Engine with Blender Integration
https://armory3d.org
zlib License
3.06k stars 316 forks source link

Application attempts to access audio even when module disabled #1914

Open Clockwork-Muse opened 3 years ago

Clockwork-Muse commented 3 years ago

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:

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

MoritzBrueckner commented 3 years ago

Hi, are you sure that this isn't a Kha issue?

Clockwork-Muse commented 3 years ago

I honestly don't know, and have since moved to another engine.