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

4.3.9 Mix_HaltChannel

int Mix_HaltChannel(int channel)

channel
Channel to stop playing, or -1 for all channels.

Halt channel playback, or all channels if -1 is passed in.
Any callback set by Mix_ChannelFinished will be called.

Returns: always returns zero. (kinda silly)

 
// halt playback on all channels
Mix_HaltChannel(-1);

See Also:
4.3.10 Mix_ExpireChannel, 4.3.11 Mix_FadeOutChannel, 4.3.12 Mix_ChannelFinished



This document was generated on November, 13 2009 using texi2html