summaryrefslogtreecommitdiff
path: root/src/drumkitloader.cc
diff options
context:
space:
mode:
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;