ENCODENOTIFYPROC callback
User defined callback function to receive notifications on an encoder's status.
void CALLBACK EncodeNotifyProc(
HENCODE handle,
DWORD status,
void *user
);
Parameters
handle | The encoder that the notification is from.
|
status | The encoder's status, one of the following.
BASS_ENCODE_NOTIFY_ENCODER | The encoder died.
| BASS_ENCODE_NOTIFY_CAST | Cast server connection died.
| BASS_ENCODE_NOTIFY_CAST_TIMEOUT | Cast data sending timeout. The connection is not dead at this point; it may just be a temporary problem.
| BASS_ENCODE_NOTIFY_QUEUE_FULL | The queue length has reached its limit (or out of memory) and data has been dropped. The total amount of dropped data is available from BASS_Encode_GetCount.
|
|
user | The user instance data given when BASS_Encode_SetNotify was called.
|
Remarks
It is safe to call
BASS_Encode_Stop to free an encoder from within a notification callback.
See also
BASS_Encode_SetNotify