Skip to content
Islandstone edited this page Sep 14, 2010 · 2 revisions

Each frame there’s a number operations that needs to be repeated. The frame has been divided into these stages:

Pre-Frame

Purpose: Preparing the processes in Frame

  • Creating new samples
  • Loading files from disk
  • Update sample data

Frame

Purpose: Audio Playback

  • Decoding/Buffering samples

Note: There should be no modification of the samples in this stage

Post-Frame

Purpose: Housekeeping

  • Stop and delete samples, from external code (ie. game code)
  • Delete samples that have finished playing
  • Close files