armory icon indicating copy to clipboard operation
armory copied to clipboard

Application attempts to access audio even when module disabled

Open Clockwork-Muse opened this issue 5 years ago • 2 comments

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.

System Blender: 2.83 Armory: 20.10 (and earlier) OS: Ubuntu 20.04 (docker image) Graphics card: Geforce GTX 1080

Clockwork-Muse avatar Oct 05 '20 20:10 Clockwork-Muse

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

MoritzBrueckner avatar Sep 20 '21 13:09 MoritzBrueckner

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

Clockwork-Muse avatar Sep 20 '21 15:09 Clockwork-Muse