BASS_Encode_Stop
Frees an encoder or all encoders on a channel.
BOOL BASS_Encode_Stop(
DWORD handle
);
Parameters
handle | The encoder or channel handle... a HENCODE, HSTREAM, HMUSIC, or HRECORD.
|
Return value
If successful, TRUE is returned, else FALSE is returned. Use
BASS_ErrorGetCode to get the error code.
Remarks
This function will free an encoder immediately, without waiting for any data that may be remaining in the queue.
BASS_Encode_StopEx can be used to have an encoder process the queue before it is freed.
Error codes
BASS_ERROR_HANDLE | handle is not valid.
|
See also
BASS_Encode_Start,
BASS_Encode_StopEx