This documentation was styled with a demo skin from the Premium Pack 4 add-on for Help & Manual. The contents of the skin are encrypted and not configurable. You can only publish HM projects with this skin. You cannot edit it or change it.
This version is copyright and may only be used for local testing purposes. It may not be distributed.
Please purchase the full version of the Premium Pack to get the configurable skins and remove this notice. The package will also include the Toolbox configuration utility for Premium Pack skins.
Description
Stops a sample, stream, MOD music, or recording.
Syntax
n = TBASS_ChannelStop(hChannel)
Returns
Number
If successful, then the channel's length is returned, else -1 is returned.. Use TBASS_ErrorGetCode to get the error code.
Parameters
Name |
Type |
Optional |
Meaning |
hChannel |
Number |
No |
The channel handle... a HCHANNEL, HMUSIC, HSTREAM, or HRECORD. |
Remarks
Stopping a user stream (created with TBASS_StreamCreate) will flush it's buffer contents. Use TBASS_ChannelPause if you wish to stop a user stream and then resume it without flushing it.
Restrictions
See also
Examples