BASS_WMA_EncodeSetNotify
Sets a client connection notification callback on a network encoder.
BOOL BASS_WMA_EncodeSetNotify(
HWMENCODE handle,
CLIENTCONNECTPROC *proc,
void *user
);
Parameters
handle | The encoder handle.
|
proc | User defined notification function... NULL = disable notifications.
|
user | User instance data to pass to the callback function.
|
Return value
If successful, TRUE is returned, else FALSE is returned. Use
BASS_ErrorGetCode to get the error code.
Error codes
BASS_ERROR_HANDLE | handle is not valid.
|
BASS_ERROR_NOTAVAIL | The encoder is not a network encoder, so does not have clients.
|
Remarks
A previously set notification callback can be changed (or removed) at any time, by calling this function again.
See also
BASS_WMA_EncodeGetClients,
CLIENTCONNECTPROC callback