-
Notifications
You must be signed in to change notification settings - Fork 2
raylib.LoadSoundAlias
JoeStrout edited this page Apr 29, 2026
·
2 revisions
Clone sound from existing sound data, clone does not own wave data NOTE: Wave data must be unallocated manually and will be shared across all clones
| Parameter | Default Value | Note |
|---|---|---|
| source |
| Condition | Return Value |
|---|---|
| (always) | map |
raylib.InitAudioDevice
sound = raylib.LoadSound("resources/beep.wav")
alias = raylib.LoadSoundAlias(sound)
raylib.PlaySound alias
raylib.UnloadSoundAlias alias
raylib.UnloadSound sound
raylib.CloseAudioDevice