changeset 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 706ec5842737
children de42ca5599ac
files decoders/aiff.c decoders/mod.c decoders/mp3.c decoders/ogg.c decoders/raw.c decoders/shn.c decoders/voc.c decoders/wav.c
diffstat 8 files changed, 24 insertions(+), 17 deletions(-) [+]
line wrap: on
line diff
--- a/decoders/aiff.c	Wed Oct 03 18:15:25 2001 +0000
+++ b/decoders/aiff.c	Wed Oct 03 18:15:52 2001 +0000
@@ -41,11 +41,13 @@
  *  This file was written by Torbjörn Andersson. (d91tan@Update.UU.SE)
  */
 
-#ifdef SOUND_SUPPORTS_AIFF
+#include "SDL_sound.h"
 
 #define __SDL_SOUND_INTERNAL__
 #include "SDL_sound_internal.h"
 
+#ifdef SOUND_SUPPORTS_AIFF
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
@@ -53,7 +55,6 @@
 
 #include "SDL.h"
 #include "SDL_endian.h"
-#include "SDL_sound.h"
 
 static int AIFF_init(void);
 static void AIFF_quit(void);
--- a/decoders/mod.c	Wed Oct 03 18:15:25 2001 +0000
+++ b/decoders/mod.c	Wed Oct 03 18:15:52 2001 +0000
@@ -28,16 +28,17 @@
  *  This file written by Torbjörn Andersson (d91tan@Update.UU.SE)
  */
 
-#ifdef SOUND_SUPPORTS_MOD
+#include "SDL_sound.h"
 
 #define __SDL_SOUND_INTERNAL__
 #include "SDL_sound_internal.h"
 
+#ifdef SOUND_SUPPORTS_MOD
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 #include <assert.h>
-#include "SDL_sound.h"
 #include "mikmod.h"
 
 
--- a/decoders/mp3.c	Wed Oct 03 18:15:25 2001 +0000
+++ b/decoders/mp3.c	Wed Oct 03 18:15:52 2001 +0000
@@ -29,18 +29,19 @@
  *  This file written by Ryan C. Gordon. (icculus@clutteredmind.org)
  */
 
-#ifdef SOUND_SUPPORTS_MP3
+#include "SDL_sound.h"
 
 #define __SDL_SOUND_INTERNAL__
 #include "SDL_sound_internal.h"
 
+#ifdef SOUND_SUPPORTS_MP3
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 #include <assert.h>
 
 #include "smpeg.h"
-#include "SDL_sound.h"
 #include "extra_rwops.h"
 
 
--- a/decoders/ogg.c	Wed Oct 03 18:15:25 2001 +0000
+++ b/decoders/ogg.c	Wed Oct 03 18:15:52 2001 +0000
@@ -32,11 +32,13 @@
  *  This file written by Ryan C. Gordon. (icculus@clutteredmind.org)
  */
 
-#ifdef SOUND_SUPPORTS_OGG
+#include "SDL_sound.h"
 
 #define __SDL_SOUND_INTERNAL__
 #include "SDL_sound_internal.h"
 
+#ifdef SOUND_SUPPORTS_OGG
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
@@ -44,7 +46,6 @@
 #include <assert.h>
 #include "vorbis/codec.h"
 #include "vorbis/vorbisfile.h"
-#include "SDL_sound.h"
 
 
 static int OGG_init(void);
--- a/decoders/raw.c	Wed Oct 03 18:15:25 2001 +0000
+++ b/decoders/raw.c	Wed Oct 03 18:15:52 2001 +0000
@@ -38,17 +38,17 @@
  *  This file written by Ryan C. Gordon. (icculus@clutteredmind.org)
  */
 
-#ifdef SOUND_SUPPORTS_RAW
+#include "SDL_sound.h"
 
 #define __SDL_SOUND_INTERNAL__
 #include "SDL_sound_internal.h"
 
+#ifdef SOUND_SUPPORTS_RAW
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 #include <assert.h>
-#include "SDL_sound.h"
-
 
 static int RAW_init(void);
 static void RAW_quit(void);
--- a/decoders/shn.c	Wed Oct 03 18:15:25 2001 +0000
+++ b/decoders/shn.c	Wed Oct 03 18:15:52 2001 +0000
@@ -41,16 +41,17 @@
  *  This file written by Ryan C. Gordon. (icculus@clutteredmind.org)
  */
 
-#if (defined SOUND_SUPPORTS_SHN)
+#include "SDL_sound.h"
 
 #define __SDL_SOUND_INTERNAL__
 #include "SDL_sound_internal.h"
 
+#if (defined SOUND_SUPPORTS_SHN)
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 #include <assert.h>
-#include "SDL_sound.h"
 
 
 static int SHN_init(void);
--- a/decoders/voc.c	Wed Oct 03 18:15:25 2001 +0000
+++ b/decoders/voc.c	Wed Oct 03 18:15:52 2001 +0000
@@ -37,16 +37,17 @@
  *  This file written by Ryan C. Gordon. (icculus@clutteredmind.org)
  */
 
-#if (defined SOUND_SUPPORTS_VOC)
+#include "SDL_sound.h"
 
 #define __SDL_SOUND_INTERNAL__
 #include "SDL_sound_internal.h"
 
+#if (defined SOUND_SUPPORTS_VOC)
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 #include <assert.h>
-#include "SDL_sound.h"
 
 static int VOC_init(void);
 static void VOC_quit(void);
--- a/decoders/wav.c	Wed Oct 03 18:15:25 2001 +0000
+++ b/decoders/wav.c	Wed Oct 03 18:15:52 2001 +0000
@@ -28,16 +28,17 @@
  *  This file written by Ryan C. Gordon. (icculus@clutteredmind.org)
  */
 
-#ifdef SOUND_SUPPORTS_WAV
+#include "SDL_sound.h"
 
 #define __SDL_SOUND_INTERNAL__
 #include "SDL_sound_internal.h"
 
+#ifdef SOUND_SUPPORTS_WAV
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 #include <assert.h>
-#include "SDL_sound.h"
 
 static int WAV_init(void);
 static void WAV_quit(void);