AudioCommon: Don't forget to call Init() on fallback

This commit is contained in:
Stenzek 2019-10-10 00:09:16 +10:00
parent 1c5441aa40
commit 7c286064b8
1 changed files with 1 additions and 0 deletions

View File

@ -64,6 +64,7 @@ void InitSoundStream()
WARN_LOG(AUDIO, "Could not initialize backend %s, using %s instead.", backend.c_str(), WARN_LOG(AUDIO, "Could not initialize backend %s, using %s instead.", backend.c_str(),
BACKEND_NULLSOUND); BACKEND_NULLSOUND);
g_sound_stream = std::make_unique<NullSound>(); g_sound_stream = std::make_unique<NullSound>();
g_sound_stream->Init();
} }
UpdateSoundStream(); UpdateSoundStream();