Mercurial > SDL_sound_CoreAudio
comparison decoders/mikmod.c @ 375:6095d0a52a20
Added a reverb setting, moved assert.h include out.
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Tue, 02 Jul 2002 03:57:02 +0000 |
parents | 069ce624d6cf |
children | 077cdba5d5f6 |
comparison
equal
deleted
inserted
replaced
374:9df02ba1579d | 375:6095d0a52a20 |
---|---|
33 #ifdef SOUND_SUPPORTS_MIKMOD | 33 #ifdef SOUND_SUPPORTS_MIKMOD |
34 | 34 |
35 #include <stdio.h> | 35 #include <stdio.h> |
36 #include <stdlib.h> | 36 #include <stdlib.h> |
37 #include <string.h> | 37 #include <string.h> |
38 #include <assert.h> | |
39 | 38 |
40 #include "SDL_sound.h" | 39 #include "SDL_sound.h" |
41 | 40 |
42 #define __SDL_SOUND_INTERNAL__ | 41 #define __SDL_SOUND_INTERNAL__ |
43 #include "SDL_sound_internal.h" | 42 #include "SDL_sound_internal.h" |
207 * the other flags. There are a few which are said to give better | 206 * the other flags. There are a few which are said to give better |
208 * sound quality. | 207 * sound quality. |
209 */ | 208 */ |
210 md_mode |= (DMODE_SOFT_MUSIC | DMODE_16BITS); | 209 md_mode |= (DMODE_SOFT_MUSIC | DMODE_16BITS); |
211 md_mixfreq = 0; | 210 md_mixfreq = 0; |
211 md_reverb = 1; | |
212 | 212 |
213 BAIL_IF_MACRO(MikMod_Init(""), MikMod_strerror(MikMod_errno), 0); | 213 BAIL_IF_MACRO(MikMod_Init(""), MikMod_strerror(MikMod_errno), 0); |
214 | 214 |
215 return(1); /* success. */ | 215 return(1); /* success. */ |
216 } /* MIKMOD_init */ | 216 } /* MIKMOD_init */ |