diff options
Diffstat (limited to 'servers/audio_server.cpp')
-rw-r--r-- | servers/audio_server.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/servers/audio_server.cpp b/servers/audio_server.cpp index b737f4681d..db178e0df8 100644 --- a/servers/audio_server.cpp +++ b/servers/audio_server.cpp @@ -185,9 +185,13 @@ void AudioDriverManager::initialize(int p_driver) { if (drivers[i]->init() == OK) { drivers[i]->set_singleton(); - return; + break; } } + + if (driver_count > 1 && AudioDriver::get_singleton()->get_name() == "Dummy") { + WARN_PRINT("All audio drivers failed, falling back to the dummy driver."); + } } AudioDriver *AudioDriverManager::get_driver(int p_driver) { |