Added function: UpdateSound()
This commit is contained in:
parent
7dbb17792a
commit
be97583f00
1 changed files with 31 additions and 0 deletions
|
|
@ -110,6 +110,7 @@ bool IsAudioDeviceReady(void); // Check if audi
|
|||
Sound LoadSound(char *fileName); // Load sound to memory
|
||||
Sound LoadSoundFromWave(Wave wave); // Load sound to memory from wave data
|
||||
Sound LoadSoundFromRES(const char *rresName, int resId); // Load sound to memory from rRES file (raylib Resource)
|
||||
void UpdateSound(Sound sound, void *data, int numSamples); // Update sound buffer with new data
|
||||
void UnloadSound(Sound sound); // Unload sound
|
||||
void PlaySound(Sound sound); // Play a sound
|
||||
void PauseSound(Sound sound); // Pause a sound
|
||||
|
|
|
|||
Loading…
Reference in a new issue