BASS_WASAPI_SetNotify
Sets a device change notification callback.
BOOL BASS_WASAPI_SetNotify( WASAPINOTIFYPROC *proc, void *user );
Parameters
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_WASAPI | WASAPI is not available. |
Remarks
A previously set notification callback can be changed or removed at any time by calling this function again.If the BASSWASAPI DLL is loaded dynamically (eg. via LoadLibrary), this function should be called with NULL parameters prior to unloading the DLL.