Revert "lock audio stream in I_PlaySong"

This reverts commit 6f242f30e1.
This commit is contained in:
Alug committed 2025-12-07 17:12:20 +01:00
1 parent 4af1c24a3c
commit 3370d14d97
1 file changed
-5
-5
View File
@@ -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;
}