SDL_Function

Name

Mix_HaltChannel -- Stops a channel

Synopsis

#include "SDL_mixer.h"

int Mix_HaltChannel(int channel);

Description

Mix_HaltChannel will stop the channel specified in channel. If -1 is passed as the parameter to channel, all channels will be stopped

Return Value

Returns 0 all the time

Example

Mix_HaltChannel(-1); //stops all channels

See Also

Mix_PlayChannel

Mix_HaltChannel (last edited 2008-04-17 08:18:47 by localhost)