Restart the audio renderer if SDL_QueueAudio() fails

This commit is contained in:
Cameron Gutman committed 2026-11-15 00:46:56 -06:00
1 parent bcdd0a2c63
commit f924722793
1 file changed
+1
+1
View File
@@ -128,6 +128,7 @@ bool SdlAudioRenderer::submitAudio(int bytesWritten)
SDL_LogError(SDL_LOG_CATEGORY_APPLICATION,
"Failed to queue audio sample: %s",
SDL_GetError());
return false;
}
return true;