Mix_Paused
Name
Mix_Paused -- Tells you if channel is paused, or not.
Synopsis
#include "SDL_mixer.h" int Mix_Paused(int which);
Description
Mix_Paused tells you if channel is paused, or not.
Return Value
Returns zero if the channel is not paused. Otherwise if you passed in -1, the number of paused channels is returned. If you passed in a specific channel, then 1 is returned if it is paused.
Note: Does not check if the channel has been halted after it was paused, which may seem a little weird.
Example
// check the pause status on all channels
printf("%d channels are paused\n", Mix_Paused(-1));
