comparison decoders/wav.c @ 106:40de367eb59e

Changing my include structure to do this right.
author Ryan C. Gordon <icculus@icculus.org>
date Wed, 03 Oct 2001 18:29:32 +0000
parents 103cfcb3c014
children e46e31fdecfd
comparison
equal deleted inserted replaced
105:de42ca5599ac 106:40de367eb59e
26 * Please see the file LICENSE in the source's root directory. 26 * Please see the file LICENSE in the source's root directory.
27 * 27 *
28 * This file written by Ryan C. Gordon. (icculus@clutteredmind.org) 28 * This file written by Ryan C. Gordon. (icculus@clutteredmind.org)
29 */ 29 */
30 30
31 #include "SDL_sound.h" 31 #if HAVE_CONFIG_H
32 32 # include <config.h>
33 #define __SDL_SOUND_INTERNAL__ 33 #endif
34 #include "SDL_sound_internal.h"
35 34
36 #ifdef SOUND_SUPPORTS_WAV 35 #ifdef SOUND_SUPPORTS_WAV
37 36
38 #include <stdio.h> 37 #include <stdio.h>
39 #include <stdlib.h> 38 #include <stdlib.h>
40 #include <string.h> 39 #include <string.h>
41 #include <assert.h> 40 #include <assert.h>
41
42 #include "SDL_sound.h"
43
44 #define __SDL_SOUND_INTERNAL__
45 #include "SDL_sound_internal.h"
42 46
43 static int WAV_init(void); 47 static int WAV_init(void);
44 static void WAV_quit(void); 48 static void WAV_quit(void);
45 static int WAV_open(Sound_Sample *sample, const char *ext); 49 static int WAV_open(Sound_Sample *sample, const char *ext);
46 static void WAV_close(Sound_Sample *sample); 50 static void WAV_close(Sound_Sample *sample);