diff SDL_sound.c @ 209:e63b9393f6ce

Added ModPlug support.
author Ryan C. Gordon <icculus@icculus.org>
date Thu, 10 Jan 2002 01:18:54 +0000
parents 47cc2de2ae36
children 07d0939d40e7
line wrap: on
line diff
--- a/SDL_sound.c	Thu Jan 10 01:16:24 2002 +0000
+++ b/SDL_sound.c	Thu Jan 10 01:18:54 2002 +0000
@@ -51,8 +51,12 @@
 extern const Sound_DecoderFunctions  __Sound_DecoderFunctions_MP3;
 #endif
 
-#if (defined SOUND_SUPPORTS_MOD)
-extern const Sound_DecoderFunctions  __Sound_DecoderFunctions_MOD;
+#if (defined SOUND_SUPPORTS_MIKMOD)
+extern const Sound_DecoderFunctions  __Sound_DecoderFunctions_MIKMOD;
+#endif
+
+#if (defined SOUND_SUPPORTS_MODPLUG)
+extern const Sound_DecoderFunctions  __Sound_DecoderFunctions_MODPLUG;
 #endif
 
 #if (defined SOUND_SUPPORTS_WAV)
@@ -101,8 +105,12 @@
     { 0, &__Sound_DecoderFunctions_MP3 },
 #endif
 
-#if (defined SOUND_SUPPORTS_MOD)
-    { 0, &__Sound_DecoderFunctions_MOD },
+#if (defined SOUND_SUPPORTS_MIKMOD)
+    { 0, &__Sound_DecoderFunctions_MIKMOD },
+#endif
+
+#if (defined SOUND_SUPPORTS_MODPLUG)
+    { 0, &__Sound_DecoderFunctions_MODPLUG },
 #endif
 
 #if (defined SOUND_SUPPORTS_WAV)