mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-24 06:51:17 +01:00
commit
6dbb5cc4ea
@ -25,7 +25,8 @@ AlsaSound::~AlsaSound()
|
||||
// Give the opportunity to the audio thread
|
||||
// to realize we are stopping the emulation
|
||||
cv.notify_one();
|
||||
thread.join();
|
||||
if (thread.joinable())
|
||||
thread.join();
|
||||
}
|
||||
|
||||
bool AlsaSound::Init()
|
||||
|
@ -64,6 +64,7 @@ void InitSoundStream()
|
||||
WARN_LOG(AUDIO, "Could not initialize backend %s, using %s instead.", backend.c_str(),
|
||||
BACKEND_NULLSOUND);
|
||||
g_sound_stream = std::make_unique<NullSound>();
|
||||
g_sound_stream->Init();
|
||||
}
|
||||
|
||||
UpdateSoundStream();
|
||||
|
Loading…
x
Reference in New Issue
Block a user