BASS_ASIO_ErrorGetCode


Retrieves the error code for the most recent BASSASIO function call in the current thread.

DWORD BASS_ASIO_ErrorGetCode();

Return value

If no error occurred during the last BASSASIO function call then BASS_OK is returned, else one of the BASS_ERROR values is returned. See the function description for an explanation of what the error code means.

Error codes are stored for each thread. So if you happen to call 2 or more BASSASIO functions at the same time, they will not interfere with each other's error codes.

Error codes list

0BASS_OK
3BASS_ERROR_DRIVER
6BASS_ERROR_FORMAT
8BASS_ERROR_INIT
9BASS_ERROR_START
14BASS_ERROR_ALREADY
18BASS_ERROR_NOCHAN
20BASS_ERROR_ILLPARAM
23BASS_ERROR_DEVICE
37BASS_ERROR_NOTAVAIL
-1BASS_ERROR_UNKNOWN