[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

3.5.17 Mix_PlayingMusic

int Mix_PlayingMusic()

Tells you if music is actively playing, or not.
Note: Does not check if the channel has been paused.

Returns: Zero if the music is not playing, or 1 if it is playing.

 
// check if music is playing
printf("music is%s playing.\n", Mix_PlayingMusic()?"":" not");

See Also:
3.5.18 Mix_PausedMusic, 3.5.19 Mix_FadingMusic, 3.5.3 Mix_PlayMusic



This document was generated on August, 31 2003 using texi2html