Demonstrates the music.lib sound spooler.
ta_spool
Uses the music.lib sound spooler to fill buffers, parse information in the buffers, signal our task when a buffer has been exhausted, and refill the buffers. Use this sample code as a basis for developing your own routines for playing large sampled files, or handling other kinds of buffered data.
When you press one of the buttons, the following events take place:
ssplPlayData()
sequence. Press the play button returns to normal mode.ta_spool.c
examples/Audio
ssplCreateSoundSpooler, tsp_spoolsoundfile