BASS_WMA_EncodeSetNotify

Sets a client connection notification callback on a network encoder.

BOOL BASS_WMA_EncodeSetNotify(
    HWMENCODE handle,
    CLIENTCONNECTPROC *proc,
    void *user
);

Parameters

handleThe encoder handle.
procUser defined notification function... NULL = disable notifications.
userUser 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_HANDLEhandle is not valid.
BASS_ERROR_NOTAVAILThe 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