diff options
| author | Ray <[email protected]> | 2019-06-29 11:26:08 +0200 |
|---|---|---|
| committer | Ray <[email protected]> | 2019-06-29 11:26:08 +0200 |
| commit | 892813de76ce62357c1d41da6727dd7bbd93c8f3 (patch) | |
| tree | 5b4f97371319c795fea7e0feca2dfd6521516274 /src/raylib.h | |
| parent | 83a4eb08525c25026dbf16211ef083a46745867f (diff) | |
| download | raylib-892813de76ce62357c1d41da6727dd7bbd93c8f3.tar.gz raylib-892813de76ce62357c1d41da6727dd7bbd93c8f3.zip | |
Review multichannel PR addition
- Capital letters at beginning
- for loop spacing and brackets
- Functions naming for consistency
- Example following examples template
- Other tweaks
Diffstat (limited to 'src/raylib.h')
| -rw-r--r-- | src/raylib.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/raylib.h b/src/raylib.h index f40a30dc..c3be9d1e 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -1356,12 +1356,12 @@ RLAPI void ExportWaveAsCode(Wave wave, const char *fileName); // Export // Wave/Sound management functions RLAPI void PlaySound(Sound sound); // Play a sound -RLAPI void PlaySoundEx(Sound s); // Play a sound using the multi channel buffer pool -RLAPI void StopPlayBufferPool(); // MUST be called before UnLoadSound is used on any sound played with PlaySoundEx -RLAPI int ConcurrentPlayChannels(); // Number of sounds playing in the multichannel buffer pool +RLAPI void PlaySoundMulti(Sound sound); // Play a sound using the multi channel buffer pool +RLAPI int GetSoundsPlaying(void); // Get number of sounds playing in the multichannel buffer pool RLAPI void PauseSound(Sound sound); // Pause a sound RLAPI void ResumeSound(Sound sound); // Resume a paused sound RLAPI void StopSound(Sound sound); // Stop playing a sound +RLAPI void StopSoundMulti(void); // Stop any sound played with PlaySoundMulti() RLAPI bool IsSoundPlaying(Sound sound); // Check if a sound is currently playing RLAPI void SetSoundVolume(Sound sound, float volume); // Set volume for a sound (1.0 is max level) RLAPI void SetSoundPitch(Sound sound, float pitch); // Set pitch for a sound (1.0 is base level) |
