Advertisement
Guest User

Untitled

a guest
May 27th, 2017
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 2.08 KB | None | 0 0
  1. // Error codes returned by BASS_ErrorGetCode
  2. #define BASS_OK             0   // all is OK
  3. #define BASS_ERROR_MEM      1   // memory error
  4. #define BASS_ERROR_FILEOPEN 2   // can't open the file
  5. #define BASS_ERROR_DRIVER   3   // can't find a free/valid driver
  6. #define BASS_ERROR_BUFLOST  4   // the sample buffer was lost
  7. #define BASS_ERROR_HANDLE   5   // invalid handle
  8. #define BASS_ERROR_FORMAT   6   // unsupported sample format
  9. #define BASS_ERROR_POSITION 7   // invalid position
  10. #define BASS_ERROR_INIT     8   // BASS_Init has not been successfully called
  11. #define BASS_ERROR_START    9   // BASS_Start has not been successfully called
  12. #define BASS_ERROR_ALREADY  14  // already initialized/paused/whatever
  13. #define BASS_ERROR_NOCHAN   18  // can't get a free channel
  14. #define BASS_ERROR_ILLTYPE  19  // an illegal type was specified
  15. #define BASS_ERROR_ILLPARAM 20  // an illegal parameter was specified
  16. #define BASS_ERROR_NO3D     21  // no 3D support
  17. #define BASS_ERROR_NOEAX    22  // no EAX support
  18. #define BASS_ERROR_DEVICE   23  // illegal device number
  19. #define BASS_ERROR_NOPLAY   24  // not playing
  20. #define BASS_ERROR_FREQ     25  // illegal sample rate
  21. #define BASS_ERROR_NOTFILE  27  // the stream is not a file stream
  22. #define BASS_ERROR_NOHW     29  // no hardware voices available
  23. #define BASS_ERROR_EMPTY    31  // the MOD music has no sequence data
  24. #define BASS_ERROR_NONET    32  // no internet connection could be opened
  25. #define BASS_ERROR_CREATE   33  // couldn't create the file
  26. #define BASS_ERROR_NOFX     34  // effects are not available
  27. #define BASS_ERROR_NOTAVAIL 37  // requested data is not available
  28. #define BASS_ERROR_DECODE   38  // the channel is a "decoding channel"
  29. #define BASS_ERROR_DX       39  // a sufficient DirectX version is not installed
  30. #define BASS_ERROR_TIMEOUT  40  // connection timedout
  31. #define BASS_ERROR_FILEFORM 41  // unsupported file format
  32. #define BASS_ERROR_SPEAKER  42  // unavailable speaker
  33. #define BASS_ERROR_VERSION  43  // invalid BASS version (used by add-ons)
  34. #define BASS_ERROR_CODEC    44  // codec is not available/supported
  35. #define BASS_ERROR_ENDED    45  // the channel/file has ended
  36. #define BASS_ERROR_UNKNOWN  -1  // some other mystery problem
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement