changeset 52:69d56e196de7

going with MikMod defaults (adds more reverb) and only register the "no sound" driver...this means it will decode, but not output to a sound device, which is good, because otherwise MikMod hijacks /dev/dsp.
author Ryan C. Gordon <icculus@icculus.org>
date Sat, 22 Sep 2001 16:33:13 +0000
parents 3d34b03167f2
children f3f8e2a0fe76
files decoders/mod.c
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/decoders/mod.c	Sat Sep 22 16:30:06 2001 +0000
+++ b/decoders/mod.c	Sat Sep 22 16:33:13 2001 +0000
@@ -174,7 +174,7 @@
 
 static int MOD_init(void)
 {
-    MikMod_RegisterAllDrivers();
+    MikMod_RegisterDriver(&drv_nos);
     MikMod_RegisterAllLoaders();
 
         /*
@@ -184,7 +184,8 @@
          * sound quality.
          */
     md_mode |= (DMODE_SOFT_MUSIC | DMODE_16BITS);
-#if 1
+
+#if 0 
         /*
          * SDL_mixer used to set these, but I don't know... is there
          * something wrong with the defaults? Actually, the only difference