Reggae tutorial: Playing a sound from memory
From MorphOS Library
Grzegorz Kraszewski
While playing a sound from file is the most common way, there are applications where it has several disadvantages. When a sound is short, played many times and low latency is required, playing this sound from memory will be the better option. Seeking in the sound, or restarting it will be substantially faster then, as it does not involve any disk activity.