From 36d650c530dfea83556efe47f77aff84b3f90a84 Mon Sep 17 00:00:00 2001 From: mazmazz Date: Mon, 27 Aug 2018 06:16:55 -0400 Subject: [PATCH] Remove MP3 warning for win32 Mixer X --- src/sdl/mixer_sound.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/sdl/mixer_sound.c b/src/sdl/mixer_sound.c index b238d2092..b4ef34462 100644 --- a/src/sdl/mixer_sound.c +++ b/src/sdl/mixer_sound.c @@ -1047,11 +1047,15 @@ boolean I_LoadSong(char *data, size_t len) return false; } +#ifdef _WIN32 +#ifndef HAVE_MIXERX if (I_SongType() == MU_MP3) { CONS_Debug(DBG_BASIC, "MP3 songs are unsupported and may crash! Use OGG instead.\n"); CONS_Debug(DBG_DETAILED, "MP3 songs are unsupported and may crash! Use OGG instead.\n"); } +#endif +#endif // Find the OGG loop point. loop_point = 0.0f;