audStopMusic

Stops playback of music using its voice handle. Takes musicChannel (music channel handle). Returns nothing.

Audio

Parameters & Returns

Parameters

musicChannel Int

Returns

Void

Quick Summary

Stops playback of music using its voice handle. Takes musicChannel (music channel handle). Returns nothing.

Technical Exegesis...

Immediately stops playback of the music identified by the music channel handle returned from audPlayMusic. The handle becomes invalid after this call.

Does nothing if the handle is invalid or <= 0. Pass the handle returned by audPlayMusic, not the music ID. Once stopped, the music cannot be resumed - you must call audPlayMusic again to restart playback.

Example

Example.bam
StopMusic(musicChannel)