aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRay <raysan5@gmail.com>2019-07-24 22:38:06 +0200
committerRay <raysan5@gmail.com>2019-07-24 22:38:06 +0200
commit73a3d4a183ecc7223bfe3ea21b3edb498fcaeb72 (patch)
treeb7e459a906a7dbacfef85678ac4b5b0f63273f96 /src
parentae95111006251c1cfc5fb0e646f2ffcfa746bfbc (diff)
downloadraylib-73a3d4a183ecc7223bfe3ea21b3edb498fcaeb72.tar.gz
raylib-73a3d4a183ecc7223bfe3ea21b3edb498fcaeb72.zip
Review comments
Diffstat (limited to 'src')
-rw-r--r--src/raylib.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/raylib.h b/src/raylib.h
index fc66e149..9a730743 100644
--- a/src/raylib.h
+++ b/src/raylib.h
@@ -148,6 +148,7 @@
#define BLANK CLITERAL{ 0, 0, 0, 0 } // Blank (Transparent)
#define MAGENTA CLITERAL{ 255, 0, 255, 255 } // Magenta
#define RAYWHITE CLITERAL{ 245, 245, 245, 255 } // My own White (raylib logo)
+#define RAYWHITE CLITERAL(Color){ 245, 245, 245, 255 } // My own White (raylib logo)
// Temporal hack to avoid breaking old codebases using
// deprecated raylib implementation of these functions
@@ -1361,12 +1362,12 @@ RLAPI void ExportWaveAsCode(Wave wave, const char *fileName); // Export
// Wave/Sound management functions
RLAPI void PlaySound(Sound sound); // Play a sound
-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 StopSound(Sound sound); // Stop playing a sound
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 void PlaySoundMulti(Sound sound); // Play a sound (using multichannel buffer pool)
+RLAPI void StopSoundMulti(void); // Stop any sound playing (using multichannel buffer pool)
+RLAPI int GetSoundsPlaying(void); // Get number of sounds playing in the multichannel
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)