[SDL] Suggestion: Looping Audio

Bill Kendrick nbs at sonic.net
Fri Oct 4 01:15:01 PDT 2002

On Fri, Oct 04, 2002 at 09:05:11AM +0100, Big Pilot wrote:
> I would like to suggest a looping audio feature in the audio part of
> the library of both libsdl and sdl_sound. Often, a music piece will
> consist of two parts, an intro plus a part which is endlessly
> repeated. It would be great if both the .WAV and MIDI file types
> could be looped such that the intro part plays, then the main part
> which is looped endlessly. The SDL_PauseAudio would then look
> something like
> void SDL_PauseAudio(int pause_on, int repeat_start);

I didn't know that WAV's had an 'intro' part separate from the 'main' part.


More information about the SDL mailing list