Skip to content

raylib.UnloadSoundAlias

JoeStrout edited this page Apr 29, 2026 · 2 revisions

Also delete the heap-allocated Sound

Parameters

Parameter Default Value Note
alias

Return value

None.

Notes

Example

raylib.InitAudioDevice
sound = raylib.LoadSound("resources/beep.wav")
alias = raylib.LoadSoundAlias(sound)
raylib.PlaySound alias
raylib.UnloadSoundAlias alias
raylib.UnloadSound sound
raylib.CloseAudioDevice

Clone this wiki locally