BASS.NET API for the Un4seen BASS Audio LibraryBassAsioBASS_ASIO_SetNotify Method BASS.NET API for the Un4seen BASS Audio Library
Sets a notification callback on the ASIO driver.

Namespace: Un4seen.BassAsio
Assembly: Bass.Net (in Bass.Net.dll) Version: 2.4.12.0
Syntax

[DllImportAttribute("bassasio.dll", CharSet = CharSet.Auto)]
public static bool BASS_ASIO_SetNotify(
	ASIONOTIFYPROC proc,
	IntPtr user
)

Parameters

proc
Type: Un4seen.BassAsioASIONOTIFYPROC
User defined notification function... NULL = disable notifications.
user
Type: SystemIntPtr
User instance data to pass to the callback function.

Return Value

Type: Boolean
If succesful, then is returned, else is returned. Use BASS_ASIO_ErrorGetCode to get the error code.
Remarks

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

ERROR CODEDescription
BASS_ERROR_INITBASS_ASIO_Init(Int32, BASSASIOInit) has not been successfully called.

See Also

Reference