Use TAudioPlayer::OrphanSequence to remove the current sequence from a player:
Use TAudioPlayer::AdoptSequence to load a new sequence into a player:
Removing the
current sequence
// aPlayer is a default audio player; oldSequence is the current sequence.
aPlayer.OrphanSequence();
delete oldSequence;
Inserting a new
sequence
// aPlayer is a default audio player.
// newSequence is an instance of a class derived from TAudioSequence.
aPlayer.AdoptSequence(newSequence);
[Contents]
[Previous]
[Next]
Click the icon to mail questions or corrections about this material to Taligent personnel.
Generated with WebMaker