summaryrefslogtreecommitdiff
path: root/src/inputprocessor.h
diff options
context:
space:
mode:
authorAndré Nusser <andre.nusser@googlemail.com>2016-04-24 13:26:00 +0200
committerAndré Nusser <andre.nusser@googlemail.com>2016-04-24 23:20:44 +0200
commit103401bab34dd8d9e01a07b7a4a02f0bf577eaa7 (patch)
tree0d00a572da400387b467742966319eea9b898957 /src/inputprocessor.h
parent2ff860a7f2c8fe5cf027d1d792f539ab8bb27fe6 (diff)
Split process in InputProcessor into process_onset and process_stop.
Diffstat (limited to 'src/inputprocessor.h')
-rw-r--r--src/inputprocessor.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/inputprocessor.h b/src/inputprocessor.h
index fb12555..7e03737 100644
--- a/src/inputprocessor.h
+++ b/src/inputprocessor.h
@@ -42,4 +42,7 @@ private:
DrumKit& kit;
std::list<Event*>* activeevents;
bool is_stopping; ///< Is set to true when a TYPE_STOP event has been seen.
+
+ bool process_onset(const event_t& event, size_t pos, double resample_ratio);
+ bool process_stop(const event_t& event);
};