diff --git a/src/audio.c b/src/audio.c index befed61c7..0896e4ca2 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 3ee7a7939..d9a12cecd 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