Checks if a sample, stream, or MOD music is active (playing) or stalled. Can also check if a recording is in progress.
|handle||The channel handle... a HCHANNEL, HMUSIC, HSTREAM, or HRECORD.
The return value is one of the following.
|BASS_ACTIVE_STOPPED||The channel is not active, or handle is not a valid channel.
|BASS_ACTIVE_PLAYING||The channel is playing (or recording).
|BASS_ACTIVE_PAUSED||The channel is paused.
|BASS_ACTIVE_STALLED||Playback of the stream has been stalled due to a lack of sample data. The playback will automatically resume once there is sufficient data to do so.
When using this function with a decoding channel, BASS_ACTIVE_PLAYING will be returned while there is still data to decode. Once the end has been reached, BASS_ACTIVE_STOPPED will be returned. BASS_ACTIVE_STALLED is never returned for decoding channels; you can tell a decoding channel is stalled if BASS_ChannelGetData returns less data than requested, and this function still returns BASS_ACTIVE_PLAYING.
BASS_ChannelGetLevel, BASS_ChannelPlay, BASS_ATTRIB_NET_RESUME