Mercurial > SDL_sound_CoreAudio
comparison decoders/skeleton.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 | 706ec5842737 |
children | 1df5c106504e |
comparison
equal
deleted
inserted
replaced
105:de42ca5599ac | 106:40de367eb59e |
---|---|
32 #error DO NOT COMPILE THIS. | 32 #error DO NOT COMPILE THIS. |
33 #error This is an example decoder skeleton. | 33 #error This is an example decoder skeleton. |
34 #error You should base your code on this file, and remove these error lines | 34 #error You should base your code on this file, and remove these error lines |
35 #error from your version. | 35 #error from your version. |
36 | 36 |
37 #include "SDL_sound.h" | 37 #if HAVE_CONFIG_H |
38 | 38 # include <config.h> |
39 #define __SDL_SOUND_INTERNAL__ | 39 #endif |
40 #include "SDL_sound_internal.h" | |
41 | 40 |
42 #ifdef SOUND_SUPPORTS_FMT | 41 #ifdef SOUND_SUPPORTS_FMT |
43 | 42 |
44 #include <stdio.h> | 43 #include <stdio.h> |
45 #include <stdlib.h> | 44 #include <stdlib.h> |
46 #include <string.h> | 45 #include <string.h> |
47 #include <assert.h> | 46 #include <assert.h> |
47 | |
48 #include "SDL_sound.h" | |
49 | |
50 #define __SDL_SOUND_INTERNAL__ | |
51 #include "SDL_sound_internal.h" | |
48 | 52 |
49 static int FMT_init(void); | 53 static int FMT_init(void); |
50 static void FMT_quit(void); | 54 static void FMT_quit(void); |
51 static int FMT_open(Sound_Sample *sample, const char *ext); | 55 static int FMT_open(Sound_Sample *sample, const char *ext); |
52 static void FMT_close(Sound_Sample *sample); | 56 static void FMT_close(Sound_Sample *sample); |