log to console if falling back to dummy audio driver
This commit is contained in:
parent
f72f74486d
commit
d37e9ef95d
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue