Multimedia Functions

Sound Functions

PlaySound

procedure PlaySound(Sound : string);

PlaySound plays the sound file with the path Sound.

Supported formats: .wav. (Possibly others, if someone has time to figures this out please let us know)

Example:

PlaySound('C:\roar.wav');

StopSound

procedure StopSound;

StopSound stops all currently playing sounds.