WARNING: Replaced Music pointer by struct
Now, multiple music parameters are exposed to the user!
This commit is contained in:
parent
8e870f0eda
commit
251f90cd31
3 changed files with 108 additions and 126 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue