SDL_image 1.2.4: Mix_HaltGroup

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

### 4.4.9 Mix_HaltGroup

`int Mix_HaltGroup(int tag)`

tag
  Group to fade out.
  NOTE: -1 will NOT halt all channels. Use `Mix_HaltChannel(-1)` for that instead.

Halt playback on all channels in group tag.
Any callback set by `Mix_ChannelFinished` will be called once for each channel that stops.

Returns: always returns zero. (more silly than Mix_HaltChannel)

    // halt playback on all channels in group 1
    Mix_HaltGroup(1);

See Also:
4.4.8 Mix_FadeOutGroup, 4.3.9 Mix_HaltChannel, 4.3.12 Mix_ChannelFinished

This document was generated on November, 1 2002 using texi2html