Reggae tutorial: Playing a sound from memory

From MorphOS Library

Revision as of 07:55, 17 June 2010 by Krashan (talk | contribs) (Started a new article, introduction.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.