include/SDL_mixer.h
changeset 1108 22157ac5cd2d
parent 1090 543b77a3c0eb
child 1109 ee22b0e110b3
equal deleted inserted replaced
1107:697ca24499fb 1108:22157ac5cd2d
   163 /* Load a wave file or a music (.mod .s3m .it .xm) file */
   163 /* Load a wave file or a music (.mod .s3m .it .xm) file */
   164 extern DECLSPEC Mix_Chunk * SDLCALL Mix_LoadWAV_RW(SDL_RWops *src, int freesrc);
   164 extern DECLSPEC Mix_Chunk * SDLCALL Mix_LoadWAV_RW(SDL_RWops *src, int freesrc);
   165 #define Mix_LoadWAV(file)   Mix_LoadWAV_RW(SDL_RWFromFile(file, "rb"), 1)
   165 #define Mix_LoadWAV(file)   Mix_LoadWAV_RW(SDL_RWFromFile(file, "rb"), 1)
   166 extern DECLSPEC Mix_Music * SDLCALL Mix_LoadMUS(const char *file);
   166 extern DECLSPEC Mix_Music * SDLCALL Mix_LoadMUS(const char *file);
   167 
   167 
   168 /* Load a music file from an SDL_RWop object (Ogg and MikMod specific currently)
   168 /* Load a music file from an SDL_RWop object
   169    Matt Campbell (matt@campbellhome.dhs.org) April 2000 */
   169  * Matt Campbell (matt@campbellhome.dhs.org) April 2000 */
   170 extern DECLSPEC Mix_Music * SDLCALL Mix_LoadMUS_RW(SDL_RWops *src, int freesrc);
   170 extern DECLSPEC Mix_Music * SDLCALL Mix_LoadMUS_RW(SDL_RWops *src, int freesrc);
   171 
   171 
   172 /* Load a music file from an SDL_RWop object assuming a specific format */
   172 /* Load a music file from an SDL_RWop object assuming a specific format */
   173 extern DECLSPEC Mix_Music * SDLCALL Mix_LoadMUSType_RW(SDL_RWops *src, Mix_MusicType type, int freesrc);
   173 extern DECLSPEC Mix_Music * SDLCALL Mix_LoadMUSType_RW(SDL_RWops *src, Mix_MusicType type, int freesrc);
   174 
   174