summaryrefslogtreecommitdiff
path: root/src/drumkitloader.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2018-08-06 20:20:08 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2018-08-07 20:34:08 +0200
commit400959b536180cf8912f06dd80b4de077d8f8c74 (patch)
tree2c06ed49aa8d001ddad2603ef332d8655d00741a /src/drumkitloader.cc
parent3f5252e0144766e68968d0930e8497b5d7d42e73 (diff)
New resampler implementation.
Diffstat (limited to 'src/drumkitloader.cc')
-rw-r--r--src/drumkitloader.cc7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/drumkitloader.cc b/src/drumkitloader.cc
index e6f4c45..246e79b 100644
--- a/src/drumkitloader.cc
+++ b/src/drumkitloader.cc
@@ -36,14 +36,12 @@
DrumKitLoader::DrumKitLoader(Settings& settings, DrumKit& kit,
AudioInputEngine& ie,
- Resamplers& resamplers,
Random& rand,
AudioCache& audio_cache)
: settings(settings)
, getter(settings)
, kit(kit)
, ie(ie)
- , resamplers(resamplers)
, rand(rand)
, audio_cache(audio_cache)
{
@@ -136,11 +134,6 @@ bool DrumKitLoader::loadkit(const std::string& file)
loadKit(&kit);
-#ifdef WITH_RESAMPLER
- resamplers.setup(kit.getSamplerate(), settings.samplerate.load());
-#endif/*WITH_RESAMPLER*/
- settings.resamplig_recommended.store(resamplers.isActive());
-
DEBUG(loadkit, "loadkit: Success\n");
return true;