Mercurial > SDL_sound_CoreAudio
diff SDL_sound_internal.h @ 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 | 2888101dcf98 |
children | 2b63642fb6ff |
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;