Change the timed stoppage of a channel
Number of channels set to expire. Whether or not they are active.
Halt channel playback, or all channels if -1 is passed in, after ticks milliseconds. Any callback set by Mix_ChannelFinished will be called when the channel expires.
Binds to C-function in SDL_mixer.h
int Mix_ExpireChannel(int channel, int ticks)
// halt playback on all channels in 2 seconds Mix_ExpireChannel(-1, 2000);
SdlMixer Class | Tao.Sdl Namespace | Mix_HaltChannel | Mix_FadeOutChannel | Mix_ChannelFinished