SDL_image 1.2.4: Mix_PlayingMusic

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

### 4.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:
4.5.18 Mix_PausedMusic, 4.5.19 Mix_FadingMusic, 4.5.3 Mix_PlayMusic

This document was generated on November, 1 2002 using texi2html