mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-12 14:28:15 +00:00
WARNING: Replaced Music pointer by struct
Now, multiple music parameters are exposed to the user!
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user