diff options
| author | raysan5 <raysan5@gmail.com> | 2016-08-02 19:09:07 +0200 |
|---|---|---|
| committer | raysan5 <raysan5@gmail.com> | 2016-08-02 19:09:07 +0200 |
| commit | 8c0bd30fcb62550f71237cce73fc80efacbf8909 (patch) | |
| tree | ca2cde0e99f281d2458d18363c01ccac4d468acb /src | |
| parent | 50ccc39d6b58125912f73cdaa6121935e7bf4794 (diff) | |
| download | raylib-8c0bd30fcb62550f71237cce73fc80efacbf8909.tar.gz raylib-8c0bd30fcb62550f71237cce73fc80efacbf8909.zip | |
Corrected issue with Music type
Diffstat (limited to 'src')
| -rw-r--r-- | src/audio.c | 2 | ||||
| -rw-r--r-- | src/raylib.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/audio.c b/src/audio.c index befed61c..0896e4ca 100644 --- a/src/audio.c +++ b/src/audio.c @@ -101,7 +101,7 @@ typedef enum { MUSIC_AUDIO_OGG = 0, MUSIC_MODULE_XM, MUSIC_MODULE_MOD } MusicContextType; // Music type (file streaming from memory) -typedef struct Music { +typedef struct MusicData { MusicContextType ctxType; // Type of music context (OGG, XM, MOD) stb_vorbis *ctxOgg; // OGG audio context jar_xm_context_t *ctxXm; // XM chiptune context diff --git a/src/raylib.h b/src/raylib.h index 3ee7a793..d9a12cec 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -514,7 +514,7 @@ typedef struct Wave { // Music type (file streaming from memory) // NOTE: Anything longer than ~10 seconds should be streamed -typedef struct Music *Music; +typedef struct MusicData *Music; // Audio stream type // NOTE: Useful to create custom audio streams not bound to a specific file |
