diff options
Diffstat (limited to 'audio/cheesetracker/files/patch-common::plugins::effects::custom::chorus_effect.cpp')
-rw-r--r-- | audio/cheesetracker/files/patch-common::plugins::effects::custom::chorus_effect.cpp | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/audio/cheesetracker/files/patch-common::plugins::effects::custom::chorus_effect.cpp b/audio/cheesetracker/files/patch-common::plugins::effects::custom::chorus_effect.cpp new file mode 100644 index 000000000000..4d991ac9587d --- /dev/null +++ b/audio/cheesetracker/files/patch-common::plugins::effects::custom::chorus_effect.cpp @@ -0,0 +1,19 @@ +--- common/plugins/effects/custom/chorus_effect.cpp.orig Sun Oct 26 05:07:38 2003 ++++ common/plugins/effects/custom/chorus_effect.cpp Thu Oct 30 12:00:04 2003 +@@ -10,10 +10,16 @@ + // + // + #include "chorus_effect.h" ++#include <math.h> + + + #define FRACTIONAL_BITS 13 + #define MIX_CALCULATE_INCREMENT_INTERVAL 8 ++ ++#if defined(__FreeBSD__) ++ #define lrint(flt) ((int) (flt)) ++ #define lrintf(flt) ((int) (flt)) ++#endif + + + inline static double get_msecs_from_samples(double p_samples,double p_mixfreq) { |