From 3370d14d970320c4550b974454a1a52d082d4cb2 Mon Sep 17 00:00:00 2001 From: Alug Date: Sun, 7 Dec 2025 17:12:20 +0100 Subject: [PATCH] Revert "lock audio stream in I_PlaySong" This reverts commit 6f242f30e17dfd95301e4eaadd795a9b9f9ea7da. --- src/sdl/sdl_sound.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/sdl/sdl_sound.c b/src/sdl/sdl_sound.c index 35842a579..122580022 100644 --- a/src/sdl/sdl_sound.c +++ b/src/sdl/sdl_sound.c @@ -1548,7 +1548,6 @@ void I_UnloadSong(void) boolean I_PlaySong(boolean looping) { - SDL_LockAudioStream(audio_stream); #ifdef HAVE_LIBGME if (gme) { @@ -1592,14 +1591,10 @@ boolean I_PlaySong(boolean looping) else #endif if (music_stream == NULL) - { - SDL_UnlockAudioStream(audio_stream); return false; - } loop_song = looping; song_paused = false; - SDL_UnlockAudioStream(audio_stream); return true; }