Site Tools


documentation:development:opera:pf25:ppgfldr:smmfldr:gspfldr:12pgs055

ta_attach

Experiments with sample attachments.

Synopsis

ta_attach

Description

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.

Associated Files

ta_attach.c

Location

examples/Audio

See Also

ta_spool, ssplCreateSoundSpooler, LinkAttachments

documentation/development/opera/pf25/ppgfldr/smmfldr/gspfldr/12pgs055.txt · Last modified: 2022/10/10 16:53 by 127.0.0.1