-
Notifications
You must be signed in to change notification settings - Fork 2
raylib.LoadWave
JoeStrout edited this page Apr 29, 2026
·
2 revisions
Load wave data from file
| Parameter | Default Value | Note |
|---|---|---|
| fileName |
| Condition | Return Value |
|---|---|
| (always) | map |
raylib.InitAudioDevice
wave = raylib.LoadWave("resources/beep.wav")
if raylib.IsWaveValid(wave) then print "Wave loaded"
raylib.UnloadWave wave
raylib.CloseAudioDevice