From 348da93ee6b1c4784deeba38392efe4717bfd3b1 Mon Sep 17 00:00:00 2001 From: bigol83 <38129260+bigol83@users.noreply.github.com> Date: Mon, 30 Sep 2024 18:20:57 +0200 Subject: [PATCH] Fix BB random fmv hang (#1170) --- src/audio_core/sdl_audio.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/audio_core/sdl_audio.cpp b/src/audio_core/sdl_audio.cpp index 9aec70c2..bd27e482 100644 --- a/src/audio_core/sdl_audio.cpp +++ b/src/audio_core/sdl_audio.cpp @@ -100,6 +100,7 @@ s32 SDLAudio::AudioOutOutput(s32 handle, const void* ptr) { if (ptr == nullptr) { return 0; } + lock.unlock(); // TODO mixing channels SDL_bool result = SDL_PutAudioStreamData( port.stream, ptr, port.samples_num * port.sample_size * port.channels_num);