]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - snd_modplug.c
Update build system, fix and enable ODE by default
[xonotic/darkplaces.git] / snd_modplug.c
index 52a152a313c3d16b757a42d1070961481c6f522b..fa0e57f5c910ad626792a69aafeea4ea475b7ccd 100644 (file)
@@ -26,7 +26,7 @@
 #include "snd_main.h"
 #include "snd_modplug.h"
 
-#ifdef SND_MODPLUG_STATIC
+#ifdef LINK_TO_LIBMODPLUG
 
 #include <libmodplug/modplug.h>
 qboolean ModPlug_OpenLibrary (void)
@@ -252,7 +252,7 @@ static void ModPlug_GetSamplesFloat(channel_t *ch, sfx_t *sfx, int firstsamplefr
                        return;
                }
 
-#ifndef SND_MODPLUG_STATIC
+#ifndef LINK_TO_LIBMODPLUG
                if(qModPlug_SetMasterVolume)
 #endif
                        qModPlug_SetMasterVolume(per_ch->mf, 512); // max volume, DP scales down!
@@ -412,7 +412,7 @@ qboolean ModPlug_LoadModPlugFile (const char *filename, sfx_t *sfx)
                return false;
        }
 
-#ifndef SND_MODPLUG_STATIC
+#ifndef LINK_TO_LIBMODPLUG
        if(qModPlug_SetMasterVolume)
 #endif
                qModPlug_SetMasterVolume(mf, 512); // max volume, DP scales down!