From 515f5e2bd1455efd309c2efa4d6bef359c348a42 Mon Sep 17 00:00:00 2001 From: Chris Cannam Date: Thu, 18 Aug 2022 12:03:29 +0100 Subject: [PATCH] Allow pre-configuration if explicitly specified --- single/RubberBandSingle.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/single/RubberBandSingle.cpp b/single/RubberBandSingle.cpp index 91d78d0..8cdcb14 100644 --- a/single/RubberBandSingle.cpp +++ b/single/RubberBandSingle.cpp @@ -44,6 +44,8 @@ standalone library. */ +#ifndef ALREADY_CONFIGURED + #define USE_BQRESAMPLER 1 #define NO_TIMING 1 @@ -56,6 +58,8 @@ #define USE_BUILTIN_FFT 1 #endif +#endif + #include "../src/faster/AudioCurveCalculator.cpp" #include "../src/faster/CompoundAudioCurve.cpp" #include "../src/faster/HighFrequencyAudioCurve.cpp"