[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Mix_MusicType Mix_GetMusicType(const Mix_Music *music)
Tells you the file format encoding of the music. This may be handy when used
with Mix_SetMusicPosition
, and other music functions that vary based on
the type of music being played. If you want to know the type of music currently
being played, pass in NULL to music.
Returns: The type of music or if music is NULL then the currently playing music type, otherwise MUS_NONE if no music is playing.
|
See Also:
5.3 Mix_MusicType,
4.6.7 Mix_SetPosition