FreeSfx

Category: Audio

Back to System Functions


Signature

FreeSfx(sfxReference As Integer)

Returns

Void

Description

Stops a loaded sound effect if needed and releases its handle.

After the sound effect is freed, the old handle is no longer valid.

Example

FreeSfx(jumpSfx)