Mix_Music*.
Mix_Music*.
this.
msmilliseconds, will stop other musics. -1 loops will play forever.
int ms | Milliseconds for the fade-in effect to complete. |
int loops | -1 loops will play forever. 0 plays the music zero times. |
msmilliseconds, will stop other musics.
int ms | Milliseconds for the fade-in effect to complete. |
int loops | -1 loops will play forever. 0 plays the music zero times. |
double position | Set the position of the currently playing music. The position takes different meanings for different music sources. It only works on the music sources listed below.
MOD The double is cast to Uint16 and used for a pattern number in the module. Passing zero is similar to rewinding the song. OGG/MP3 Jumps to position seconds from the beginning of the song. |
double value | Set the position of the currently playing music. The position takes different meanings for different music sources. It only works on the music sources listed below. Will automatically rewind before setting.
MOD The double is cast to Uint16 and used for a pattern number in the module. Passing zero is similar to rewinding the song. OGG/MP3 Jumps to position seconds from the beginning of the song. |