diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2015-02-12 22:18:39 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2015-02-12 22:18:39 +0100 |
commit | 087087e65c0ea0b19d21c4a8b44833bf0a951e86 (patch) | |
tree | c05b3cbbfe30d89d2d50934f51763478028529cc /src/configuration.cc | |
parent | faa4ea3d5997590a235f90a25522a36b39930490 (diff) |
Add 'enable_resampling' config option for runtime disabling of the resampler.
Diffstat (limited to 'src/configuration.cc')
-rw-r--r-- | src/configuration.cc | 17 |
1 files changed, 1 insertions, 16 deletions
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; |