summaryrefslogtreecommitdiffhomepage
path: root/src/raylib.h
diff options
context:
space:
mode:
authorRay <[email protected]>2020-09-13 15:38:57 +0200
committerRay <[email protected]>2020-09-13 15:38:57 +0200
commit5b60a743bdd2a07f510c9f50f5064662cc1228b0 (patch)
tree35fdc9e6c7695395639fd82482ee5565e9de6249 /src/raylib.h
parent768b29dd747ef8043eea981cfb968d9eb1acb5ab (diff)
downloadraylib-5b60a743bdd2a07f510c9f50f5064662cc1228b0.tar.gz
raylib-5b60a743bdd2a07f510c9f50f5064662cc1228b0.zip
ADDED: LoadWaveFromMemory() #1327
Diffstat (limited to 'src/raylib.h')
-rw-r--r--src/raylib.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/raylib.h b/src/raylib.h
index 6dddef26..a5739306 100644
--- a/src/raylib.h
+++ b/src/raylib.h
@@ -1417,6 +1417,7 @@ RLAPI void SetMasterVolume(float volume); // Set mas
// Wave/Sound loading/unloading functions
RLAPI Wave LoadWave(const char *fileName); // Load wave data from file
+RLAPI Wave LoadWaveFromMemory(const char *fileType, const char *fileData, int dataSize); // Load wave from memory buffer, fileType refers to extension: i.e. "wav"
RLAPI Sound LoadSound(const char *fileName); // Load sound from file
RLAPI Sound LoadSoundFromWave(Wave wave); // Load sound from wave data
RLAPI void UpdateSound(Sound sound, const void *data, int samplesCount);// Update sound buffer with new data