AGK for Pascal
ContentsIndexHome
PreviousUpNext
TAgkSound Members

The following tables list the members exposed by TAgkSound.

 
Name 
Description 
 
FID 
 
 
Name 
Description 
 
Loads a sound file from the application media folder. 
 
All sounds are automatically destroyed when their owner (such as the scene in which it is used) is destroyed. However, if you don't need the sound anymore, you can save memory (especially on mobile devices) by destroying it earlier. Also, when the sound has no owner, you need to destroy it yourself when you are done with it. 
 
Play 
Plays the sound. 
 
Stop 
Stops sound playback. 
 
Name 
Description 
 
ID 
The internal ID of the object. 
 
Sets the master sound volume for all sounds. 
 
The number of objects that this object owns. 
 
The objects that this object owns. 
 
The owner of this object. 
 
Returns the number of instances of this sound that are currently playing or looping. 
Copyright (c) 2012. All rights reserved.