changeset 39:eeb874083218

Temporary addition of multiple-streams-in-one-RWops support.
author Ryan C. Gordon <icculus@icculus.org>
date Thu, 20 Sep 2001 07:57:29 +0000
parents 9950943545c4
children c15396fc0e55
files SDL_sound_internal.h
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/SDL_sound_internal.h	Thu Sep 20 07:56:52 2001 +0000
+++ b/SDL_sound_internal.h	Thu Sep 20 07:57:29 2001 +0000
@@ -135,11 +135,19 @@
 } Sound_DecoderFunctions;
 
 
+/* (for now. --ryan.) */
+#define MULTIPLE_STREAMS_PER_RWOPS 1
+
+
+
 typedef struct __SOUND_SAMPLEINTERNAL__
 {
     Sound_Sample *next;
     Sound_Sample *prev;
     SDL_RWops *rw;
+#if (defined MULTIPLE_STREAMS_PER_RWOPS)
+    int pos; /* !!! FIXME: Int? Really? */
+#endif
     const Sound_DecoderFunctions *funcs;
     SDL_AudioCVT sdlcvt;
     void *buffer;