ASIONOTIFYPROC callback

User defined notification callback function.

void CALLBACK AsioNotifyProc(
    DWORD notify,
    void *user
);

Parameters

notifyThe notification, one of the following.
BASS_ASIO_NOTIFY_RATEThe device's sample rate has changed. The new rate is available from BASS_ASIO_GetRate.
BASS_ASIO_NOTIFY_RESETThe driver has requested a reset/reinitialization; for example, following a change of the default buffer size. This request can be ignored, but if a reinitialization is performed, it should not be done within the callback.
userThe user instance data given when BASS_ASIO_SetNotify was called.

Remarks

When using multiple devices, BASS_ASIO_GetDevice can be used to determine which the notification applies to.

See also

BASS_ASIO_SetNotify