SDL_mixer.h
changeset 481 286c27f54ea1
parent 480 30976a327fd3
child 495 b4d178cd982d
equal deleted inserted replaced
480:30976a327fd3 481:286c27f54ea1
   120 	MUS_MOD,
   120 	MUS_MOD,
   121 	MUS_MID,
   121 	MUS_MID,
   122 	MUS_OGG,
   122 	MUS_OGG,
   123 	MUS_MP3,
   123 	MUS_MP3,
   124 	MUS_MP3_MAD,
   124 	MUS_MP3_MAD,
   125 	MUS_FLAC
   125 	MUS_FLAC,
       
   126 	MUS_MODPLUG
   126 } Mix_MusicType;
   127 } Mix_MusicType;
   127 
   128 
   128 /* The internal format for a music chunk interpreted via mikmod */
   129 /* The internal format for a music chunk interpreted via mikmod */
   129 typedef struct _Mix_Music Mix_Music;
   130 typedef struct _Mix_Music Mix_Music;
   130 
   131 
   584 extern DECLSPEC int SDLCALL Mix_PausedMusic(void);
   585 extern DECLSPEC int SDLCALL Mix_PausedMusic(void);
   585 
   586 
   586 /* Set the current position in the music stream.
   587 /* Set the current position in the music stream.
   587    This returns 0 if successful, or -1 if it failed or isn't implemented.
   588    This returns 0 if successful, or -1 if it failed or isn't implemented.
   588    This function is only implemented for MOD music formats (set pattern
   589    This function is only implemented for MOD music formats (set pattern
   589    order number) and for OGG music (set position in seconds), at the
   590    order number) and for OGG, FLAC, MP3_MAD, and MODPLUG music (set 
   590    moment.
   591    position in seconds), at the moment.
   591 */
   592 */
   592 extern DECLSPEC int SDLCALL Mix_SetMusicPosition(double position);
   593 extern DECLSPEC int SDLCALL Mix_SetMusicPosition(double position);
   593 
   594 
   594 /* Check the status of a specific channel.
   595 /* Check the status of a specific channel.
   595    If the specified channel is -1, check all channels.
   596    If the specified channel is -1, check all channels.