Cytopia icon indicating copy to clipboard operation
Cytopia copied to clipboard

Configure openAL at runtime

Open SimplyLiz opened this issue 4 years ago • 0 comments

It seems there are ways to configure openAL without using their provided configuration tool.

Add a file to the deployment called alsoftrc. This file should be put in the resources dir together with settings.json.

For ALSoft to use this file, we must set the environment variable ALSOFT_CONF to point to this file. (https://www.cprogramming.com/fod/putenv.html)

Every change in this file will need ALSoft to be reloaded, which could be done via a dialog telling the user to restart Cytopia, or maybe it's possible on runtime to reload openAL. We need to figure this out.

Details here for openal environmental variable configuration. https://github.com/kcat/openal-soft/blob/master/docs/env-vars.txt Details here for alsoftrc configuration options. https://github.com/kcat/openal-soft/blob/b42d241da58eb4dbe949c8b6ba5c0fd80ee021a9/alsoftrc.sample

Note: For a proper configuration dialog, this will depend on the new User Interface being implemented.

SimplyLiz avatar May 11 '20 05:05 SimplyLiz