comparison decoders/aiff.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 1b36803660bc
comparison
equal deleted inserted replaced
105:de42ca5599ac 106:40de367eb59e
39 * Please see the file LICENSE in the source's root directory. 39 * Please see the file LICENSE in the source's root directory.
40 * 40 *
41 * This file was written by Torbjörn Andersson. (d91tan@Update.UU.SE) 41 * This file was written by Torbjörn Andersson. (d91tan@Update.UU.SE)
42 */ 42 */
43 43
44 #include "SDL_sound.h" 44 #if HAVE_CONFIG_H
45 45 # include <config.h>
46 #define __SDL_SOUND_INTERNAL__ 46 #endif
47 #include "SDL_sound_internal.h"
48 47
49 #ifdef SOUND_SUPPORTS_AIFF 48 #ifdef SOUND_SUPPORTS_AIFF
50 49
51 #include <stdio.h> 50 #include <stdio.h>
52 #include <stdlib.h> 51 #include <stdlib.h>
53 #include <string.h> 52 #include <string.h>
54 #include <assert.h> 53 #include <assert.h>
55 54
56 #include "SDL.h" 55 #include "SDL_sound.h"
56
57 #define __SDL_SOUND_INTERNAL__
58 #include "SDL_sound_internal.h"
59
57 #include "SDL_endian.h" 60 #include "SDL_endian.h"
58 61
59 static int AIFF_init(void); 62 static int AIFF_init(void);
60 static void AIFF_quit(void); 63 static void AIFF_quit(void);
61 static int AIFF_open(Sound_Sample *sample, const char *ext); 64 static int AIFF_open(Sound_Sample *sample, const char *ext);