BASS_ASIO_SetNotify

Sets a notification callback on the ASIO driver.

BOOL BASS_ASIO_SetNotify(
    ASIONOTIFYPROC *proc,
    void *user
);

Parameters

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_ASIO_ErrorGetCode to get the error code.

Error codes

BASS_ERROR_INITBASS_ASIO_Init has not been successfully called.

Remarks

A previously set notification callback can be changed (or removed) at any time, by calling this function again.

See also

ASIONOTIFYPROC callback