User defined notification callback function.
void CALLBACK WasapiNotifyProc(
|notify||The notification, one of the following.
|BASS_WASAPI_NOTIFY_ENABLED||The device has been enabled.
|BASS_WASAPI_NOTIFY_DISABLED||The device has been disabled/disconnected.
|BASS_WASAPI_NOTIFY_DEFINPUT||The device is now the default input device.
|BASS_WASAPI_NOTIFY_DEFOUTPUT||The device is now the default output device.
|BASS_WASAPI_NOTIFY_FAIL||The device has failed and been stopped. If the device is still enabled and shared mode was being used, then it may be that the device's sample format has changed. It can be freed and reinitialized, with BASS_WASAPI_Free and BASS_WASAPI_Init, to resume in that case.
|device||The device that the notification applies to.
|user||The user instance data given when BASS_WASAPI_SetNotify was called.
BASS_WASAPI_Free should not be called from within a WASAPINOTIFYPROC callback.