# HG changeset patch # User Ryan C. Gordon # Date 1000972649 0 # Node ID eeb87408321845e3e4a428042f84b085b15ac1d6 # Parent 9950943545c44be8c5700a3a728b68672845e918 Temporary addition of multiple-streams-in-one-RWops support. diff -r 9950943545c4 -r eeb874083218 SDL_sound_internal.h --- 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;