summaryrefslogtreecommitdiff
path: root/src/inputprocessor.h
diff options
context:
space:
mode:
authorAndré Nusser <andre.nusser@googlemail.com>2016-04-24 13:01:04 +0200
committerAndré Nusser <andre.nusser@googlemail.com>2016-04-24 23:20:44 +0200
commit2ff860a7f2c8fe5cf027d1d792f539ab8bb27fe6 (patch)
tree0ae68bac5d31a1f7259d47f1457096eb894017ee /src/inputprocessor.h
parentc2a9fd6efa4e137a30e157d442605bcfc947a967 (diff)
Make activeevents a member of InputProcessor.
Diffstat (limited to 'src/inputprocessor.h')
-rw-r--r--src/inputprocessor.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/inputprocessor.h b/src/inputprocessor.h
index 24685be..fb12555 100644
--- a/src/inputprocessor.h
+++ b/src/inputprocessor.h
@@ -36,9 +36,10 @@
class InputProcessor
{
public:
- InputProcessor(DrumKit& kit);
- bool process(const std::vector<event_t>& events, std::list<Event*>* activeevents, size_t pos, double resample_ratio);
+ InputProcessor(DrumKit& kit, std::list<Event*>* activeevents);
+ bool process(const std::vector<event_t>& events, size_t pos, double resample_ratio);
private:
DrumKit& kit;
+ std::list<Event*>* activeevents;
bool is_stopping; ///< Is set to true when a TYPE_STOP event has been seen.
};