mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-12 14:28:15 +00:00
ADDED: LoadWaveFromMemory() #1327
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user