Avoid an explicit mixer lock for getting the source offset and latency
[openal-soft.git] / config.h.in
blobb59226ee915871d933895ed565ec1feefd56ca79
1 /* API declaration export attribute */
2 #define AL_API ${EXPORT_DECL}
3 #define ALC_API ${EXPORT_DECL}
5 /* Define to the library version */
6 #define ALSOFT_VERSION "${LIB_VERSION}"
8 #ifdef IN_IDE_PARSER
9 /* KDevelop's parser doesn't recognize the C99-standard restrict keyword, but
10 * recent versions (at least 4.5.1) do recognize GCC's __restrict. */
11 #define restrict __restrict
12 #endif
14 /* Define any available alignment declaration */
15 #define ALIGN(x) ${ALIGN_DECL}
17 /* Define if we have the C11 aligned_alloc function */
18 #cmakedefine HAVE_ALIGNED_ALLOC
20 /* Define if we have the posix_memalign function */
21 #cmakedefine HAVE_POSIX_MEMALIGN
23 /* Define if we have the _aligned_malloc function */
24 #cmakedefine HAVE__ALIGNED_MALLOC
26 /* Define if we have SSE CPU extensions */
27 #cmakedefine HAVE_SSE
28 #cmakedefine HAVE_SSE2
29 #cmakedefine HAVE_SSE3
30 #cmakedefine HAVE_SSE4_1
32 /* Define if we have ARM Neon CPU extensions */
33 #cmakedefine HAVE_NEON
35 /* Define if we have the ALSA backend */
36 #cmakedefine HAVE_ALSA
38 /* Define if we have the OSS backend */
39 #cmakedefine HAVE_OSS
41 /* Define if we have the Solaris backend */
42 #cmakedefine HAVE_SOLARIS
44 /* Define if we have the SndIO backend */
45 #cmakedefine HAVE_SNDIO
47 /* Define if we have the QSA backend */
48 #cmakedefine HAVE_QSA
50 /* Define if we have the MMDevApi backend */
51 #cmakedefine HAVE_MMDEVAPI
53 /* Define if we have the DSound backend */
54 #cmakedefine HAVE_DSOUND
56 /* Define if we have the Windows Multimedia backend */
57 #cmakedefine HAVE_WINMM
59 /* Define if we have the PortAudio backend */
60 #cmakedefine HAVE_PORTAUDIO
62 /* Define if we have the PulseAudio backend */
63 #cmakedefine HAVE_PULSEAUDIO
65 /* Define if we have the JACK backend */
66 #cmakedefine HAVE_JACK
68 /* Define if we have the CoreAudio backend */
69 #cmakedefine HAVE_COREAUDIO
71 /* Define if we have the OpenSL backend */
72 #cmakedefine HAVE_OPENSL
74 /* Define if we have the Wave Writer backend */
75 #cmakedefine HAVE_WAVE
77 /* Define if we have the stat function */
78 #cmakedefine HAVE_STAT
80 /* Define if we have the lrintf function */
81 #cmakedefine HAVE_LRINTF
83 /* Define if we have the modff function */
84 #cmakedefine HAVE_MODFF
86 /* Define if we have the strtof function */
87 #cmakedefine HAVE_STRTOF
89 /* Define if we have the strnlen function */
90 #cmakedefine HAVE_STRNLEN
92 /* Define if we have the __int64 type */
93 #cmakedefine HAVE___INT64
95 /* Define to the size of a long int type */
96 #cmakedefine SIZEOF_LONG ${SIZEOF_LONG}
98 /* Define to the size of a long long int type */
99 #cmakedefine SIZEOF_LONG_LONG ${SIZEOF_LONG_LONG}
101 /* Define if we have C99 variable-length array support */
102 #cmakedefine HAVE_C99_VLA
104 /* Define if we have C99 _Bool support */
105 #cmakedefine HAVE_C99_BOOL
107 /* Define if we have C11 _Static_assert support */
108 #cmakedefine HAVE_C11_STATIC_ASSERT
110 /* Define if we have C11 _Alignas support */
111 #cmakedefine HAVE_C11_ALIGNAS
113 /* Define if we have C11 _Atomic support */
114 #cmakedefine HAVE_C11_ATOMIC
116 /* Define if we have GCC's destructor attribute */
117 #cmakedefine HAVE_GCC_DESTRUCTOR
119 /* Define if we have GCC's format attribute */
120 #cmakedefine HAVE_GCC_FORMAT
122 /* Define if we have stdint.h */
123 #cmakedefine HAVE_STDINT_H
125 /* Define if we have stdbool.h */
126 #cmakedefine HAVE_STDBOOL_H
128 /* Define if we have stdalign.h */
129 #cmakedefine HAVE_STDALIGN_H
131 /* Define if we have windows.h */
132 #cmakedefine HAVE_WINDOWS_H
134 /* Define if we have dlfcn.h */
135 #cmakedefine HAVE_DLFCN_H
137 /* Define if we have pthread_np.h */
138 #cmakedefine HAVE_PTHREAD_NP_H
140 /* Define if we have alloca.h */
141 #cmakedefine HAVE_ALLOCA_H
143 /* Define if we have malloc.h */
144 #cmakedefine HAVE_MALLOC_H
146 /* Define if we have dirent.h */
147 #cmakedefine HAVE_DIRENT_H
149 /* Define if we have strings.h */
150 #cmakedefine HAVE_STRINGS_H
152 /* Define if we have cpuid.h */
153 #cmakedefine HAVE_CPUID_H
155 /* Define if we have intrin.h */
156 #cmakedefine HAVE_INTRIN_H
158 /* Define if we have sys/sysconf.h */
159 #cmakedefine HAVE_SYS_SYSCONF_H
161 /* Define if we have guiddef.h */
162 #cmakedefine HAVE_GUIDDEF_H
164 /* Define if we have initguid.h */
165 #cmakedefine HAVE_INITGUID_H
167 /* Define if we have ieeefp.h */
168 #cmakedefine HAVE_IEEEFP_H
170 /* Define if we have float.h */
171 #cmakedefine HAVE_FLOAT_H
173 /* Define if we have fenv.h */
174 #cmakedefine HAVE_FENV_H
176 /* Define if we have GCC's __get_cpuid() */
177 #cmakedefine HAVE_GCC_GET_CPUID
179 /* Define if we have the __cpuid() intrinsic */
180 #cmakedefine HAVE_CPUID_INTRINSIC
182 /* Define if we have _controlfp() */
183 #cmakedefine HAVE__CONTROLFP
185 /* Define if we have __control87_2() */
186 #cmakedefine HAVE___CONTROL87_2
188 /* Define if we have pthread_setschedparam() */
189 #cmakedefine HAVE_PTHREAD_SETSCHEDPARAM
191 /* Define if we have pthread_setname_np() */
192 #cmakedefine HAVE_PTHREAD_SETNAME_NP
194 /* Define if pthread_setname_np() only accepts one parameter */
195 #cmakedefine PTHREAD_SETNAME_NP_ONE_PARAM
197 /* Define if we have pthread_set_name_np() */
198 #cmakedefine HAVE_PTHREAD_SET_NAME_NP
200 /* Define if we have pthread_mutexattr_setkind_np() */
201 #cmakedefine HAVE_PTHREAD_MUTEXATTR_SETKIND_NP
203 /* Define if we have pthread_mutex_timedlock() */
204 #cmakedefine HAVE_PTHREAD_MUTEX_TIMEDLOCK