You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-06 12:20:30 +00:00
Fallback to the dummy audio driver if no other driver works
Fix this issue https://github.com/godotengine/godot/issues/1684
This commit is contained in:
committed by
Xavier Sellier
parent
38568f82c3
commit
400e273eee
@@ -440,12 +440,7 @@ void OS_JavaScript::initialize(const VideoMode &p_desired, int p_video_driver, i
|
||||
visual_server = memnew(VisualServerRaster(rasterizer));
|
||||
visual_server->init();
|
||||
|
||||
/*AudioDriverManagerSW::get_driver(p_audio_driver)->set_singleton();
|
||||
|
||||
if (AudioDriverManagerSW::get_driver(p_audio_driver)->init()!=OK) {
|
||||
|
||||
ERR_PRINT("Initializing audio failed.");
|
||||
}*/
|
||||
// AudioDriverManagerSW::initialize(p_audio_driver);
|
||||
|
||||
print_line("Init SM");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user