21 |
#ifndef __LS_LFOBASE_H__ |
#ifndef __LS_LFOBASE_H__ |
22 |
#define __LS_LFOBASE_H__ |
#define __LS_LFOBASE_H__ |
23 |
|
|
24 |
#ifdef HAVE_CONFIG_H |
#include "../../common/global.h" |
25 |
# include "../../common/global.h" |
#include "../../common/RTMath.h" |
|
# include "../../common/RTMath.h" |
|
26 |
|
|
27 |
// IDs of the two possible implementations |
// IDs of the two possible implementations |
28 |
// we get the implementation to pick from config.h |
// we get the implementation to pick from config.h |
29 |
// the implementation IDs should be the same like in benchmarks/triang.cpp ! |
// the implementation IDs should be the same like in benchmarks/triang.cpp ! |
30 |
# define INT_MATH_SOLUTION 2 |
#define INT_MATH_SOLUTION 2 |
31 |
# define DI_HARMONIC_SOLUTION 3 |
#define DI_HARMONIC_SOLUTION 3 |
32 |
# define INT_ABS_MATH_SOLUTION 5 |
#define INT_ABS_MATH_SOLUTION 5 |
33 |
#else |
|
34 |
# include <math.h> |
#include <math.h> |
35 |
# include <stdint.h> |
#include <stdint.h> |
|
#endif |
|
36 |
|
|
37 |
namespace LinuxSampler { |
namespace LinuxSampler { |
38 |
|
|