BASS_ErrorGetCode

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

  Syntax
Return Integer = BASS_ErrorGetCode( )
  Parameters
No parameters.
  Returns

If no error occurred during the last BASS 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 BASS functions at the same time, they will not interfere with each other's error codes.

Error codes list:
0 BASS_OK
1 BASS_ERROR_MEM
2 BASS_ERROR_FILEOPEN
3 BASS_ERROR_DRIVER
4 BASS_ERROR_BUFLOST
5 BASS_ERROR_HANDLE
6 BASS_ERROR_FORMAT
7 BASS_ERROR_POSITION
8 BASS_ERROR_INIT
9 BASS_ERROR_START
14 BASS_ERROR_ALREADY
18 BASS_ERROR_NOCHAN
19 BASS_ERROR_ILLTYPE
20 BASS_ERROR_ILLPARAM
21 BASS_ERROR_NO3D
22 BASS_ERROR_NOEAX
23 BASS_ERROR_DEVICE
24 BASS_ERROR_NOPLAY
25 BASS_ERROR_FREQ
27 BASS_ERROR_NOTFILE
29 BASS_ERROR_NOHW
31 BASS_ERROR_EMPTY
32 BASS_ERROR_NONET
33 BASS_ERROR_CREATE
34 BASS_ERROR_NOFX
37 BASS_ERROR_NOTAVAIL
38 BASS_ERROR_DECODE
39 BASS_ERROR_DX
40 BASS_ERROR_TIMEOUT
41 BASS_ERROR_FILEFORM
42 BASS_ERROR_SPEAKER
43 BASS_ERROR_VERSION
44 BASS_ERROR_CODEC
45 BASS_ERROR_ENDED
-1 BASS_ERROR_UNKNOWN

  See also

List of commans
Main page



Hosted by uCoz