Try to write the full configured buffer length with PulseAudio
[openal-soft.git] / include / math_defs.h
blob149cf80ba5fafa09e1fa270fd5f1ebb7d3972d85
1 #ifndef AL_MATH_DEFS_H
2 #define AL_MATH_DEFS_H
4 #ifdef HAVE_FLOAT_H
5 #include <float.h>
6 #endif
8 #define F_PI (3.14159265358979323846f)
9 #define F_PI_2 (1.57079632679489661923f)
10 #define F_TAU (6.28318530717958647692f)
12 #ifndef FLT_EPSILON
13 #define FLT_EPSILON (1.19209290e-07f)
14 #endif
16 #define DEG2RAD(x) ((ALfloat)(x) * (F_PI/180.0f))
17 #define RAD2DEG(x) ((ALfloat)(x) * (180.0f/F_PI))
19 #endif /* AL_MATH_DEFS_H */