2
0

config.h 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. #ifndef CONFIG_H
  2. #define CONFIG_H
  3. /* Define to the library version */
  4. #define ALSOFT_VERSION "1.12.854"
  5. #define AL_BUILD_LIBRARY
  6. /* Define if we have the Android backend */
  7. #if defined(ANDROID)
  8. // Stereo only on Android back-ends
  9. #define MAXCHANNELS 3
  10. #define STEREO_ONLY 1
  11. #if defined(POST_FROYO)
  12. #define HAVE_OPENSLES 1
  13. #endif
  14. #define HAVE_AUDIOTRACK 1
  15. // For throttling AlSource.c
  16. #ifndef MAX_SOURCES_LOW
  17. #define MAX_SOURCES_LOW 4
  18. #endif
  19. #ifndef MAX_SOURCES_START
  20. #define MAX_SOURCES_START 8
  21. #endif
  22. #ifndef MAX_SOURCES_HIGH
  23. #define MAX_SOURCES_HIGH 64
  24. #endif
  25. #endif
  26. /* Define if we have the ALSA backend */
  27. /* #cmakedefine HAVE_ALSA */
  28. /* Define if we have the OSS backend */
  29. /* #cmakedefine HAVE_OSS */
  30. /* Define if we have the Solaris backend */
  31. /* #cmakedefine HAVE_SOLARIS */
  32. /* Define if we have the DSound backend */
  33. /* #cmakedefine HAVE_DSOUND */
  34. /* Define if we have the Wave Writer backend */
  35. /* #cmakedefine HAVE_WAVE */
  36. /* Define if we have the Windows Multimedia backend */
  37. /* #cmakedefine HAVE_WINMM */
  38. /* Define if we have the PortAudio backend */
  39. /* #cmakedefine HAVE_PORTAUDIO */
  40. /* Define if we have the PulseAudio backend */
  41. /* #cmakedefine HAVE_PULSEAUDIO */
  42. /* Define if we have dlfcn.h */
  43. #define HAVE_DLFCN_H 1
  44. /* Define if we have the stat function */
  45. #define HAVE_STAT 1
  46. /* Define if we have the powf function */
  47. #define HAVE_POWF 1
  48. /* Define if we have the sqrtf function */
  49. #define HAVE_SQRTF 1
  50. /* Define if we have the acosf function */
  51. #define HAVE_ACOSF 1
  52. /* Define if we have the atanf function */
  53. #define HAVE_ATANF 1
  54. /* Define if we have the fabsf function */
  55. #define HAVE_FABSF 1
  56. /* Define if we have the strtof function */
  57. #define HAVE_STRTOF 1
  58. /* Define if we have stdint.h */
  59. #define HAVE_STDINT_H 1
  60. /* Define if we have the __int64 type */
  61. /* #cmakedefine HAVE___INT64 */
  62. /* Define to the size of a long int type */
  63. #define SIZEOF_LONG 4
  64. /* Define to the size of a long long int type */
  65. #define SIZEOF_LONG_LONG 8
  66. /* Define to the size of an unsigned int type */
  67. #define SIZEOF_UINT 4
  68. /* Define to the size of a void pointer type */
  69. #define SIZEOF_VOIDP 4
  70. /* Define if we have GCC's destructor attribute */
  71. #define HAVE_GCC_DESTRUCTOR 1
  72. /* Define if we have GCC's format attribute */
  73. #define HAVE_GCC_FORMAT 1
  74. /* Define if we have pthread_np.h */
  75. /* #cmakedefine HAVE_PTHREAD_NP_H */
  76. /* Define if we have float.h */
  77. /* #cmakedefine HAVE_FLOAT_H */
  78. /* Define if we have fenv.h */
  79. #define HAVE_FENV_H 1
  80. /* Define if we have fesetround() */
  81. /* #cmakedefine HAVE_FESETROUND */
  82. /* Define if we have _controlfp() */
  83. /* #cmakedefine HAVE__CONTROLFP */
  84. /* Define if we have pthread_setschedparam() */
  85. #define HAVE_PTHREAD_SETSCHEDPARAM 1
  86. #endif