audStopChannel

Stops playback on a channel and removes it. Takes channel (channel handle). Returns nothing.

Audio

Parameters & Returns

Parameters

channel Int

Returns

Void

Quick Summary

Stops playback on a channel and removes it. Takes channel (channel handle). Returns nothing.

Technical Exegesis...

Immediately stops playback on the specified channel and removes it from the channel map. The channel handle becomes invalid after this call.

Does nothing if the channel handle is invalid or <= 0. Once stopped, the channel cannot be resumed - you must call audPlaySound or audLoopSound again to restart playback.

Example

Example.bam
audStopChannel(channel)