From de5068f4e44dbc90c5607fd83cce4e1875989c12 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Mon, 2 Oct 2023 19:41:29 -0400 Subject: [PATCH] audio: Commented out a currently-incorrect assert. Fixes #8326. --- src/audio/SDL_audio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/audio/SDL_audio.c b/src/audio/SDL_audio.c index 4155db7c36..9cb16d00a4 100644 --- a/src/audio/SDL_audio.c +++ b/src/audio/SDL_audio.c @@ -1264,7 +1264,7 @@ int SDL_GetAudioDeviceFormat(SDL_AudioDeviceID devid, SDL_AudioSpec *spec, int * // this expects the device lock to be held. !!! FIXME: no it doesn't...? static void ClosePhysicalAudioDevice(SDL_AudioDevice *device) { - SDL_assert(current_audio.impl.ProvidesOwnCallbackThread || ((device->thread == NULL) == (SDL_AtomicGet(&device->thread_alive) == 0))); + //SDL_assert(current_audio.impl.ProvidesOwnCallbackThread || ((device->thread == NULL) == (SDL_AtomicGet(&device->thread_alive) == 0))); if (SDL_AtomicGet(&device->thread_alive)) { SDL_AtomicSet(&device->shutdown, 1);