From 087087e65c0ea0b19d21c4a8b44833bf0a951e86 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Thu, 12 Feb 2015 22:18:39 +0100 Subject: Add 'enable_resampling' config option for runtime disabling of the resampler. --- src/configuration.cc | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) (limited to 'src/configuration.cc') diff --git a/src/configuration.cc b/src/configuration.cc index 965dcf9..5c733ee 100644 --- a/src/configuration.cc +++ b/src/configuration.cc @@ -35,19 +35,4 @@ float Conf::velocity_randomiser_weight = 0.1; int Conf::samplerate = 44100; -#ifdef TEST_CONFIGURATION -//Additional dependency files -//deps: -//Required cflags (autoconf vars may be used) -//cflags: -//Required link options (autoconf vars may be used) -//libs: -#include "test.h" - -TEST_BEGIN; - -// TODO: Put some testcode here (see test.h for usable macros). - -TEST_END; - -#endif/*TEST_CONFIGURATION*/ +bool Conf::enable_resampling = true; -- cgit v1.2.3