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