You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
JoeStrout edited this page Nov 16, 2026
·
3 revisions
Load wave from a RawData buffer. fileType is the file extension in lower case, e.g. ".wav". dataSize limits how many bytes are used (0 or more than the buffer's length uses all of it). Returns null on failure
Parameters
Parameter
Default Value
Note
fileType
fileData
dataSize
Return value
Condition
Return Value
(always)
map
Notes
Example
raylib.InitAudioDevicedata=file.loadRaw("resources/beep.wav")
wave=raylib.LoadWaveFromMemory(".wav", data)
ifraylib.IsWaveValid(wave) thenprint"Wave loaded from memory"raylib.UnloadWavewaveraylib.CloseAudioDevice