summaryrefslogtreecommitdiff
path: root/src/inputprocessor.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/inputprocessor.h')
-rw-r--r--src/inputprocessor.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/inputprocessor.h b/src/inputprocessor.h
index da370ec..83a4f5b 100644
--- a/src/inputprocessor.h
+++ b/src/inputprocessor.h
@@ -37,7 +37,12 @@ class InputProcessor
{
public:
InputProcessor(DrumKit& kit, std::list<Event*>* activeevents);
- bool process(const std::vector<event_t>& events, size_t pos, double resample_ratio);
+
+ bool process(const std::vector<event_t>& events, size_t pos,
+ double resample_ratio);
+
+ std::size_t getLatency() const;
+
private:
DrumKit& kit;
std::list<Event*>* activeevents;