mirror of
https://github.com/cookiengineer/audacity
synced 2025-04-30 15:49:41 +02:00
54 lines
1.3 KiB
C
54 lines
1.3 KiB
C
/* SoX Resampler Library Copyright (c) 2007-12 robs@users.sourceforge.net
|
|
* Licence for this file: LGPL v2.1 See LICENCE for details. */
|
|
|
|
#if !defined soxr_config_included
|
|
#define soxr_config_included
|
|
|
|
#define SOXR_VERSION_MAJOR @VERSION_MAJOR@
|
|
#define SOXR_VERSION_MINOR @VERSION_MINOR@
|
|
#define SOXR_VERSION_PATCH @VERSION_PATCH@
|
|
#define SOXR_VERSION "@VERSION_MAJOR@.@VERSION_MINOR@.@VERSION_PATCH@"
|
|
|
|
#define HAVE_SINGLE_PRECISION @HAVE_SINGLE_PRECISION@
|
|
#define HAVE_DOUBLE_PRECISION @HAVE_DOUBLE_PRECISION@
|
|
#define HAVE_AVFFT @HAVE_AVFFT@
|
|
#define HAVE_SIMD @HAVE_SIMD@
|
|
#define HAVE_FENV_H @HAVE_FENV_H@
|
|
#define HAVE_LRINT @HAVE_LRINT@
|
|
#define WORDS_BIGENDIAN @WORDS_BIGENDIAN@
|
|
|
|
#include <limits.h>
|
|
|
|
#undef bool
|
|
#undef false
|
|
#undef true
|
|
#define bool int
|
|
#define false 0
|
|
#define true 1
|
|
|
|
#undef int16_t
|
|
#undef int32_t
|
|
#undef int64_t
|
|
#undef uint32_t
|
|
#undef uint64_t
|
|
#define int16_t short
|
|
#if LONG_MAX > 2147483647L
|
|
#define int32_t int
|
|
#define int64_t long
|
|
#define DBL (double)
|
|
#elif LONG_MAX < 2147483647L
|
|
#error this library requires that 'long int' has at least 32-bits
|
|
#else
|
|
#define int32_t long
|
|
#if defined(_MSC_VER)
|
|
#define int64_t __int64
|
|
#else
|
|
#define int64_t long long
|
|
#endif
|
|
#define DBL
|
|
#endif
|
|
#define uint32_t unsigned int32_t
|
|
#define uint64_t unsigned int64_t
|
|
|
|
#endif
|