comparison decoders/ogg.c @ 100:6d9fdec2f708

added config.h, added --enable-debug flag, various other changes to the build system
author fingolfin
date Wed, 03 Oct 2001 12:25:34 +0000
parents 9669aa13d3e0
children 103cfcb3c014
comparison
equal deleted inserted replaced
99:3f0beddfd9c9 100:6d9fdec2f708
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 #ifdef SOUND_SUPPORTS_OGG
36
37 #define __SDL_SOUND_INTERNAL__
38 #include "SDL_sound_internal.h"
36 39
37 #include <stdio.h> 40 #include <stdio.h>
38 #include <stdlib.h> 41 #include <stdlib.h>
39 #include <string.h> 42 #include <string.h>
40 #include <math.h> 43 #include <math.h>
41 #include <assert.h> 44 #include <assert.h>
42 #include "vorbis/codec.h" 45 #include "vorbis/codec.h"
43 #include "vorbis/vorbisfile.h" 46 #include "vorbis/vorbisfile.h"
44
45 #include "SDL_sound.h" 47 #include "SDL_sound.h"
46 48
47 #define __SDL_SOUND_INTERNAL__
48 #include "SDL_sound_internal.h"
49 49
50 static int OGG_init(void); 50 static int OGG_init(void);
51 static void OGG_quit(void); 51 static void OGG_quit(void);
52 static int OGG_open(Sound_Sample *sample, const char *ext); 52 static int OGG_open(Sound_Sample *sample, const char *ext);
53 static void OGG_close(Sound_Sample *sample); 53 static void OGG_close(Sound_Sample *sample);