Mercurial > SDL_sound_CoreAudio
comparison decoders/ogg.c @ 104:103cfcb3c014
Updated to fix build system problem.
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Wed, 03 Oct 2001 18:15:52 +0000 |
parents | 6d9fdec2f708 |
children | 40de367eb59e |
comparison
equal
deleted
inserted
replaced
103:706ec5842737 | 104:103cfcb3c014 |
---|---|
30 * Please see the file LICENSE in the source's root directory. | 30 * Please see the file LICENSE in the source's root directory. |
31 * | 31 * |
32 * This file written by Ryan C. Gordon. (icculus@clutteredmind.org) | 32 * This file written by Ryan C. Gordon. (icculus@clutteredmind.org) |
33 */ | 33 */ |
34 | 34 |
35 #ifdef SOUND_SUPPORTS_OGG | 35 #include "SDL_sound.h" |
36 | 36 |
37 #define __SDL_SOUND_INTERNAL__ | 37 #define __SDL_SOUND_INTERNAL__ |
38 #include "SDL_sound_internal.h" | 38 #include "SDL_sound_internal.h" |
39 | |
40 #ifdef SOUND_SUPPORTS_OGG | |
39 | 41 |
40 #include <stdio.h> | 42 #include <stdio.h> |
41 #include <stdlib.h> | 43 #include <stdlib.h> |
42 #include <string.h> | 44 #include <string.h> |
43 #include <math.h> | 45 #include <math.h> |
44 #include <assert.h> | 46 #include <assert.h> |
45 #include "vorbis/codec.h" | 47 #include "vorbis/codec.h" |
46 #include "vorbis/vorbisfile.h" | 48 #include "vorbis/vorbisfile.h" |
47 #include "SDL_sound.h" | |
48 | 49 |
49 | 50 |
50 static int OGG_init(void); | 51 static int OGG_init(void); |
51 static void OGG_quit(void); | 52 static void OGG_quit(void); |
52 static int OGG_open(Sound_Sample *sample, const char *ext); | 53 static int OGG_open(Sound_Sample *sample, const char *ext); |