207 lines
4.9 KiB
C
207 lines
4.9 KiB
C
/* API declaration export attribute */
|
|
#define AL_API ${EXPORT_DECL}
|
|
#define ALC_API ${EXPORT_DECL}
|
|
|
|
/* Define to the library version */
|
|
#define ALSOFT_VERSION "${LIB_VERSION}"
|
|
|
|
#ifdef IN_IDE_PARSER
|
|
/* KDevelop's parser doesn't recognize the C99-standard restrict keyword, but
|
|
* recent versions (at least 4.5.1) do recognize GCC's __restrict. */
|
|
#define restrict __restrict
|
|
#endif
|
|
|
|
/* Define any available alignment declaration */
|
|
#define ALIGN(x) ${ALIGN_DECL}
|
|
|
|
/* Define if we have the C11 aligned_alloc function */
|
|
#cmakedefine HAVE_ALIGNED_ALLOC
|
|
|
|
/* Define if we have the posix_memalign function */
|
|
#cmakedefine HAVE_POSIX_MEMALIGN
|
|
|
|
/* Define if we have the _aligned_malloc function */
|
|
#cmakedefine HAVE__ALIGNED_MALLOC
|
|
|
|
/* Define if we have SSE CPU extensions */
|
|
#cmakedefine HAVE_SSE
|
|
#cmakedefine HAVE_SSE2
|
|
#cmakedefine HAVE_SSE4_1
|
|
|
|
/* Define if we have ARM Neon CPU extensions */
|
|
#cmakedefine HAVE_NEON
|
|
|
|
/* Define if we have FluidSynth support */
|
|
#cmakedefine HAVE_FLUIDSYNTH
|
|
|
|
/* Define if we have the ALSA backend */
|
|
#cmakedefine HAVE_ALSA
|
|
|
|
/* Define if we have the OSS backend */
|
|
#cmakedefine HAVE_OSS
|
|
|
|
/* Define if we have the Solaris backend */
|
|
#cmakedefine HAVE_SOLARIS
|
|
|
|
/* Define if we have the SndIO backend */
|
|
#cmakedefine HAVE_SNDIO
|
|
|
|
/* Define if we have the QSA backend */
|
|
#cmakedefine HAVE_QSA
|
|
|
|
/* Define if we have the MMDevApi backend */
|
|
#cmakedefine HAVE_MMDEVAPI
|
|
|
|
/* Define if we have the DSound backend */
|
|
#cmakedefine HAVE_DSOUND
|
|
|
|
/* Define if we have the Windows Multimedia backend */
|
|
#cmakedefine HAVE_WINMM
|
|
|
|
/* Define if we have the PortAudio backend */
|
|
#cmakedefine HAVE_PORTAUDIO
|
|
|
|
/* Define if we have the PulseAudio backend */
|
|
#cmakedefine HAVE_PULSEAUDIO
|
|
|
|
/* Define if we have the JACK backend */
|
|
#cmakedefine HAVE_JACK
|
|
|
|
/* Define if we have the CoreAudio backend */
|
|
#cmakedefine HAVE_COREAUDIO
|
|
|
|
/* Define if we have the OpenSL backend */
|
|
#cmakedefine HAVE_OPENSL
|
|
|
|
/* Define if we have the Wave Writer backend */
|
|
#cmakedefine HAVE_WAVE
|
|
|
|
/* Define if we have the stat function */
|
|
#cmakedefine HAVE_STAT
|
|
|
|
/* Define if we have the lrintf function */
|
|
#cmakedefine HAVE_LRINTF
|
|
|
|
/* Define if we have the strtof function */
|
|
#cmakedefine HAVE_STRTOF
|
|
|
|
/* Define if we have the __int64 type */
|
|
#cmakedefine HAVE___INT64
|
|
|
|
/* Define to the size of a long int type */
|
|
#cmakedefine SIZEOF_LONG ${SIZEOF_LONG}
|
|
|
|
/* Define to the size of a long long int type */
|
|
#cmakedefine SIZEOF_LONG_LONG ${SIZEOF_LONG_LONG}
|
|
|
|
/* Define if we have C99 variable-length array support */
|
|
#cmakedefine HAVE_C99_VLA
|
|
|
|
/* Define if we have C99 _Bool support */
|
|
#cmakedefine HAVE_C99_BOOL
|
|
|
|
/* Define if we have C11 _Static_assert support */
|
|
#cmakedefine HAVE_C11_STATIC_ASSERT
|
|
|
|
/* Define if we have C11 _Alignas support */
|
|
#cmakedefine HAVE_C11_ALIGNAS
|
|
|
|
/* Define if we have C11 _Atomic support */
|
|
#cmakedefine HAVE_C11_ATOMIC
|
|
|
|
/* Define if we have GCC's destructor attribute */
|
|
#cmakedefine HAVE_GCC_DESTRUCTOR
|
|
|
|
/* Define if we have GCC's format attribute */
|
|
#cmakedefine HAVE_GCC_FORMAT
|
|
|
|
/* Define if we have stdint.h */
|
|
#cmakedefine HAVE_STDINT_H
|
|
|
|
/* Define if we have stdbool.h */
|
|
#cmakedefine HAVE_STDBOOL_H
|
|
|
|
/* Define if we have stdalign.h */
|
|
#cmakedefine HAVE_STDALIGN_H
|
|
|
|
/* Define if we have windows.h */
|
|
#cmakedefine HAVE_WINDOWS_H
|
|
|
|
/* Define if we have dlfcn.h */
|
|
#cmakedefine HAVE_DLFCN_H
|
|
|
|
/* Define if we have pthread_np.h */
|
|
#cmakedefine HAVE_PTHREAD_NP_H
|
|
|
|
/* Define if we have alloca.h */
|
|
#cmakedefine HAVE_ALLOCA_H
|
|
|
|
/* Define if we have malloc.h */
|
|
#cmakedefine HAVE_MALLOC_H
|
|
|
|
/* Define if we have ftw.h */
|
|
#cmakedefine HAVE_FTW_H
|
|
|
|
/* Define if we have io.h */
|
|
#cmakedefine HAVE_IO_H
|
|
|
|
/* Define if we have strings.h */
|
|
#cmakedefine HAVE_STRINGS_H
|
|
|
|
/* Define if we have cpuid.h */
|
|
#cmakedefine HAVE_CPUID_H
|
|
|
|
/* Define if we have intrin.h */
|
|
#cmakedefine HAVE_INTRIN_H
|
|
|
|
/* Define if we have sys/sysconf.h */
|
|
#cmakedefine HAVE_SYS_SYSCONF_H
|
|
|
|
/* Define if we have guiddef.h */
|
|
#cmakedefine HAVE_GUIDDEF_H
|
|
|
|
/* Define if we have initguid.h */
|
|
#cmakedefine HAVE_INITGUID_H
|
|
|
|
/* Define if we have ieeefp.h */
|
|
#cmakedefine HAVE_IEEEFP_H
|
|
|
|
/* Define if we have float.h */
|
|
#cmakedefine HAVE_FLOAT_H
|
|
|
|
/* Define if we have fenv.h */
|
|
#cmakedefine HAVE_FENV_H
|
|
|
|
/* Define if we have GCC's __get_cpuid() */
|
|
#cmakedefine HAVE_GCC_GET_CPUID
|
|
|
|
/* Define if we have the __cpuid() intrinsic */
|
|
#cmakedefine HAVE_CPUID_INTRINSIC
|
|
|
|
/* Define if we have _controlfp() */
|
|
#cmakedefine HAVE__CONTROLFP
|
|
|
|
/* Define if we have __control87_2() */
|
|
#cmakedefine HAVE___CONTROL87_2
|
|
|
|
/* Define if we have ftw() */
|
|
#cmakedefine HAVE_FTW
|
|
|
|
/* Define if we have _wfindfirst() */
|
|
#cmakedefine HAVE__WFINDFIRST
|
|
|
|
/* Define if we have pthread_setschedparam() */
|
|
#cmakedefine HAVE_PTHREAD_SETSCHEDPARAM
|
|
|
|
/* Define if we have pthread_setname_np() */
|
|
#cmakedefine HAVE_PTHREAD_SETNAME_NP
|
|
|
|
/* Define if we have pthread_set_name_np() */
|
|
#cmakedefine HAVE_PTHREAD_SET_NAME_NP
|
|
|
|
/* Define if we have pthread_mutexattr_setkind_np() */
|
|
#cmakedefine HAVE_PTHREAD_MUTEXATTR_SETKIND_NP
|
|
|
|
/* Define if we have pthread_mutex_timedlock() */
|
|
#cmakedefine HAVE_PTHREAD_MUTEX_TIMEDLOCK
|