You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-13 13:31:48 +00:00
log to console if falling back to dummy audio driver
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user