Experiments with sample attachments.
ta_attach
Creates a pair of software-generated samples and attaches them to a sample player instrument. The attachments are then linked to one another using LinkAttachment()
such that they play in a loop.
This demonstrates how multiple attachments can be linked together to form a queue of sample buffers to play and how a client can receive notification of when each sample buffer has finished playing. This is the technique that the Sound Spooler uses to queue sound buffers for playback.
ta_attach.c
examples/Audio
ta_spool, ssplCreateSoundSpooler, LinkAttachments