Frees an encoder or all encoders on a channel.
BOOL BASS_Encode_Stop(
DWORD handle
);
| handle | The encoder or channel handle... a HENCODE, HSTREAM, HMUSIC, or HRECORD. |
| BASS_ERROR_HANDLE | handle is not valid. |
A command-line encoder process (eg. started by BASS_Encode_Start) will be forcefully terminated if it does not finish up within a period determined by the BASS_CONFIG_ENCODE_TERMINATE config option. That can be overridden with BASS_Encode_StopEx.