comparison decoders/mod.c @ 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 e5082972f9bc
children b13fafb976be
comparison
equal deleted inserted replaced
51:3d34b03167f2 52:69d56e196de7
172 172
173 173
174 174
175 static int MOD_init(void) 175 static int MOD_init(void)
176 { 176 {
177 MikMod_RegisterAllDrivers(); 177 MikMod_RegisterDriver(&drv_nos);
178 MikMod_RegisterAllLoaders(); 178 MikMod_RegisterAllLoaders();
179 179
180 /* 180 /*
181 * Both DMODE_SOFT_MUSIC and DMODE_16BITS should be set by default, 181 * Both DMODE_SOFT_MUSIC and DMODE_16BITS should be set by default,
182 * so this is just for clarity. I haven't experimented with any of 182 * so this is just for clarity. I haven't experimented with any of
183 * the other flags. There are a few which are said to give better 183 * the other flags. There are a few which are said to give better
184 * sound quality. 184 * sound quality.
185 */ 185 */
186 md_mode |= (DMODE_SOFT_MUSIC | DMODE_16BITS); 186 md_mode |= (DMODE_SOFT_MUSIC | DMODE_16BITS);
187 #if 1 187
188 #if 0
188 /* 189 /*
189 * SDL_mixer used to set these, but I don't know... is there 190 * SDL_mixer used to set these, but I don't know... is there
190 * something wrong with the defaults? Actually, the only difference 191 * something wrong with the defaults? Actually, the only difference
191 * from the defaults is md_reverb, which is usually 6. 192 * from the defaults is md_reverb, which is usually 6.
192 */ 193 */