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/raudio.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/raudio.h')
| -rw-r--r-- | src/raudio.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/raudio.h b/src/raudio.h index 0077d8fa..e032d09b 100644 --- a/src/raudio.h +++ b/src/raudio.h @@ -139,12 +139,12 @@ void UpdateSound(Sound sound, const void *data, int samplesCount);// Update soun void UnloadWave(Wave wave); // Unload wave data void UnloadSound(Sound sound); // Unload sound void PlaySound(Sound sound); // Play a sound -void PlaySoundEx(Sound s); // Play a sound using the multi channel buffer pool -void StopPlayBufferPool(); // MUST be called before UnLoadSound is used on any sound played with PlaySoundEx -int ConcurrentPlayChannels(); // Number of sounds playing in the multichannel buffer pool +void PlaySoundMulti(Sound sound); // Play a sound using the multi channel buffer pool +int GetSoundsPlaying(void); // Get number of sounds playing in the multichannel buffer pool void PauseSound(Sound sound); // Pause a sound void ResumeSound(Sound sound); // Resume a paused sound void StopSound(Sound sound); // Stop playing a sound +void StopSoundMulti(void); // Stop any sound played with PlaySoundMulti() bool IsSoundPlaying(Sound sound); // Check if a sound is currently playing void SetSoundVolume(Sound sound, float volume); // Set volume for a sound (1.0 is max level) void SetSoundPitch(Sound sound, float pitch); // Set pitch for a sound (1.0 is base level) |
