Stops a sample, stream, MOD music, or recording.
BOOL BASS_ChannelStop( DWORD handle );
|handle||The channel handle... a HCHANNEL, HMUSIC, HSTREAM, or HRECORD.|
|BASS_ERROR_HANDLE||handle is not a valid channel.|
When used with a decoding channel, this function will end the channel at its current position, so that it is not possible to decode any more data from it. Any BASS_SYNC_END syncs that have been set on the channel will not be triggered by this; they are only triggered when reaching the natural end. BASS_ChannelSetPosition can be used to reset the channel and start decoding again.