summaryrefslogtreecommitdiff
path: root/src/inputprocessor.cc
diff options
context:
space:
mode:
authorAndré Nusser <andre.nusser@googlemail.com>2019-05-12 23:55:17 +0200
committerAndré Nusser <andre.nusser@googlemail.com>2019-05-12 23:55:17 +0200
commit87af0143d46bab272c1a72f075f2d718887238b3 (patch)
treed4e9de5a4183d88d121e7b8f327448f17fc6909c /src/inputprocessor.cc
parent16e2b1c230064788e28930ef27903a5164afa74f (diff)
Move stddev to own filter.
Diffstat (limited to 'src/inputprocessor.cc')
-rw-r--r--src/inputprocessor.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/inputprocessor.cc b/src/inputprocessor.cc
index 3e779f6..b5b887f 100644
--- a/src/inputprocessor.cc
+++ b/src/inputprocessor.cc
@@ -34,6 +34,7 @@
#include "staminafilter.h"
#include "latencyfilter.h"
+#include "velocityfilter.h"
#include "cpp11fix.h"
@@ -49,6 +50,7 @@ InputProcessor::InputProcessor(Settings& settings,
// Build filter list
filters.emplace_back(std::make_unique<StaminaFilter>(settings));
filters.emplace_back(std::make_unique<LatencyFilter>(settings, random));
+ filters.emplace_back(std::make_unique<VelocityFilter>(settings, random, kit.instruments));
}
bool InputProcessor::process(std::vector<event_t>& events,