Print the current SDL_mixer version

when initializing the sound system
This commit is contained in:
Alug committed 2025-05-27 18:30:55 +02:00
1 parent 95b4228d3c
commit 7932c1af6f
1 file changed
+11 -1
+11 -1
View File
@@ -213,7 +213,17 @@ void I_StartupSound(void)
// call to start audio failed -- we do not have it
return;
}
SDL_version SDLmixcompiled;
const SDL_version *SDLmixlinked;
SDL_MIXER_VERSION(&SDLmixcompiled)
SDLmixlinked = Mix_Linked_Version();
I_OutputMsg("Compiled for SDL_mixer version: %d.%d.%d\n",
SDLmixcompiled.major, SDLmixcompiled.minor, SDLmixcompiled.patch);
I_OutputMsg("Linked with SDL_mixer version: %d.%d.%d\n",
SDLmixlinked->major, SDLmixlinked->minor, SDLmixlinked->patch);
#ifdef HAVE_OPENMPT
CONS_Printf("libopenmpt version: %s\n", openmpt_get_string("library_version"));
CONS_Printf("libopenmpt build date: %s\n", openmpt_get_string("build"));