fix: stop audio playback when splash hides

This commit is contained in:
2026-05-31 17:55:21 +05:30
parent b1ecf3b1ef
commit c79e03fd7e

View File

@@ -371,6 +371,10 @@ int main(int argc, char* argv[]) {
log_info("Hiding splash window (delayed)");
SDL_HideWindow(window);
hide_scheduled = false;
if (audio_active) {
SDL_PauseAudioDevice(audio_player.audio_device, 1);
}
}
if (video_active) {