mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
add 'audio.input-device' setting
This commit is contained in:
parent
8cfff09c0b
commit
0f0e00cdde
4 changed files with 8 additions and 1 deletions
|
|
@ -175,6 +175,10 @@ void Engine::initialize(CoreParameters coreParameters) {
|
|||
langs::setup(lang, paths->resPaths.collectRoots());
|
||||
}, true));
|
||||
|
||||
keepAlive(settings.audio.inputDevice.observe([](auto name) {
|
||||
audio::set_input_device(name == "auto" ? "" : name);
|
||||
}, true));
|
||||
|
||||
project->loadProjectStartScript();
|
||||
if (!params.headless) {
|
||||
project->loadProjectClientScript();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue