Skip to content

Commit

Permalink
Merge pull request #8397 from stenzek/fifoci-fix
Browse files Browse the repository at this point in the history
Fix FifoCI
  • Loading branch information
stenzek committed Oct 9, 2019
2 parents 6e613f4 + 7c28606 commit 6dbb5cc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Source/Core/AudioCommon/AlsaSoundStream.cpp
Expand Up @@ -25,7 +25,8 @@ AlsaSound::~AlsaSound()
// Give the opportunity to the audio thread // Give the opportunity to the audio thread
// to realize we are stopping the emulation // to realize we are stopping the emulation
cv.notify_one(); cv.notify_one();
thread.join(); if (thread.joinable())
thread.join();
} }


bool AlsaSound::Init() bool AlsaSound::Init()
Expand Down
1 change: 1 addition & 0 deletions Source/Core/AudioCommon/AudioCommon.cpp
Expand Up @@ -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();
Expand Down

0 comments on commit 6dbb5cc

Please sign in to comment.