Checks if an encoder is running.
DWORD BASS_Encode_IsActive( DWORD handle );
|handle||The encoder or channel handle... a HENCODE, HSTREAM, HMUSIC, or HRECORD.|
Return valueThe return value is one of the following.
|BASS_ACTIVE_STOPPED||The encoder isn't running.|
|BASS_ACTIVE_PLAYING||The encoder is running.|
|BASS_ACTIVE_PAUSED||The encoder is paused.|
RemarksWhen checking if there's an encoder running on a channel, and there are multiple encoders on the channel, BASS_ACTIVE_PLAYING will be returned if any of them are active.
If an encoder stops running prematurely, BASS_Encode_Stop should still be called to release resources that were allocated for the encoding.