Review multichannel PR addition
- Capital letters at beginning - for loop spacing and brackets - Functions naming for consistency - Example following examples template - Other tweaks
This commit is contained in:
parent
83a4eb0852
commit
892813de76
4 changed files with 112 additions and 122 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue