summaryrefslogtreecommitdiffhomepage
path: root/src/raylib.h
diff options
context:
space:
mode:
authorRay <[email protected]>2019-07-26 10:26:39 +0200
committerRay <[email protected]>2019-07-26 10:26:39 +0200
commit251f90cd318ae7548c3e5bcb59dcdf1f22d77aed (patch)
treef3de1a0cc4f1c3dc45d1d61414c6c54decb16fbe /src/raylib.h
parent8e870f0edad29400092c6c120d19d44981e99670 (diff)
downloadraylib-251f90cd318ae7548c3e5bcb59dcdf1f22d77aed.tar.gz
raylib-251f90cd318ae7548c3e5bcb59dcdf1f22d77aed.zip
WARNING: Replaced Music pointer by struct
Now, multiple music parameters are exposed to the user!
Diffstat (limited to 'src/raylib.h')
-rw-r--r--src/raylib.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/raylib.h b/src/raylib.h
index 2e3b6c2b..6180eb34 100644
--- a/src/raylib.h
+++ b/src/raylib.h
@@ -433,7 +433,7 @@ typedef struct Sound {
// Music stream type (audio file streaming from memory)
// NOTE: Anything longer than ~10 seconds should be streamed
-typedef struct MusicStream {
+typedef struct Music {
int ctxType; // Type of music context (audio filetype)
void *ctxData; // Audio context data, depends on type
@@ -442,7 +442,7 @@ typedef struct MusicStream {
unsigned int loopCount; // Loops count (times music will play), 0 means infinite loop
AudioStream stream; // Audio stream
-} MusicStream, *Music;
+} Music;
// Head-Mounted-Display device parameters
typedef struct VrDeviceInfo {