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

4.3.7 Mix_Pause

void Mix_Pause(int channel)

channel
Channel to pause on, or -1 for all channels.

Pause channel, or all playing channels if -1 is passed in. You may still halt a paused channel.
Note: Only channels which are actively playing will be paused.

 
// pause all sample playback
Mix_Pause(-1);

See Also:
4.3.8 Mix_Resume, 4.3.14 Mix_Paused, 4.3.9 Mix_HaltChannel



This document was generated on November, 13 2009 using texi2html