Retrieves the error code for the most recent BASSASIO function call in the current thread.
DWORD BASS_ASIO_ErrorGetCode();
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.
0 | BASS_OK |
3 | BASS_ERROR_DRIVER |
5 | BASS_ERROR_HANDLE |
6 | BASS_ERROR_FORMAT |
8 | BASS_ERROR_INIT |
9 | BASS_ERROR_START |
14 | BASS_ERROR_ALREADY |
18 | BASS_ERROR_NOCHAN |
20 | BASS_ERROR_ILLPARAM |
23 | BASS_ERROR_DEVICE |
37 | BASS_ERROR_NOTAVAIL |
-1 | BASS_ERROR_UNKNOWN |