fork/rust-sdks

git clone https://git.julia.blue/fork/rust-sdks

Théo Monnomsoxr-sys (#438)2e4d385

livekit/livekit-ffi@0.13.0
763 B31 linesraw
1/* SoX Resampler Library      Copyright (c) 2007-16 robs@users.sourceforge.net
2 * Licence for this file: LGPL v2.1                  See LICENCE for details. */
3
4#if !defined soxr_math_wrap_included
5#define soxr_math_wrap_included
6
7#include <math.h>
8
9#if defined __STRICT_ANSI__
10  #define sinf(x)  (float)sin ((double)(x))
11  #define cosf(x)  (float)cos ((double)(x))
12  #define atanf(x) (float)atan((double)(x))
13#endif
14
15#if !defined M_PI
16  #define M_PI    3.141592653589793238462643383279502884
17#endif
18
19#if !defined M_LN10
20  #define M_LN10  2.302585092994045684017991454684364208
21#endif
22
23#if !defined M_SQRT2
24  #define M_SQRT2 1.414213562373095048801688724209698079
25#endif
26
27#if !defined M_LN2
28  #define M_LN2   0.693147180559945309417232121458176568
29#endif
30
31#endif