-
Notifications
You must be signed in to change notification settings - Fork 2
raylib.LoadSound
JoeStrout edited this page Apr 29, 2026
·
2 revisions
Load sound from file NOTE: The entire file is loaded to memory to be played (no-streaming)
| Parameter | Default Value | Note |
|---|---|---|
| fileName |
| Condition | Return Value |
|---|---|
| (always) | map |
raylib.InitAudioDevice
sound = raylib.LoadSound("resources/beep.wav")
raylib.PlaySound sound
raylib.UnloadSound sound
raylib.CloseAudioDevice