[SDL] Suggestion: Looping Audio

Matthijs Hollemans matthijs at allyoursoftware.com
Fri Oct 4 04:28:00 PDT 2002


> > .WAV Is audio. .MID Is MIDI data (I.E. *NOTE* data - not sound).
There
> > is no way to mark an "intro" in a .WAV file.
>
> You could, however, throw in a loop that doesn't begin at the
start of
> the file... Not sure how standardized that is, though. IIRC, audio
apps
> that support loops can read basic loop info from each other's
files.

Paraphrased from the specs: WAV files can have a "cue" chunk that
contains one or more "cue points" or "markers". Each cue point
references a specific offset within the waveform's data array. In
conjunction with the Playlist chunk, the Cue chunk can be used to
store looping information. See also <http://www.wotsit.org>

--
Matthijs Hollemans
All Your Software
www.allyoursoftware.com






More information about the SDL mailing list