diff options
Diffstat (limited to 'src/inputprocessor.h')
-rw-r--r-- | src/inputprocessor.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/inputprocessor.h b/src/inputprocessor.h index 2101a25..98623d5 100644 --- a/src/inputprocessor.h +++ b/src/inputprocessor.h @@ -34,6 +34,8 @@ #include "drumkit.h" #include "events.h" +#include "events_ds.h" +#include "id.h" #include "inputfilter.h" struct Settings; @@ -44,7 +46,7 @@ class InputProcessor public: InputProcessor(Settings& settings, DrumKit& kit, - std::list<Event*>* activeevents, + EventsDS& events_ds, Random& random); bool process(std::vector<event_t>& events, @@ -55,7 +57,7 @@ public: private: DrumKit& kit; - std::list<Event*>* activeevents; + EventsDS& events_ds; bool is_stopping; ///< Is set to true when a EventType::Stop event has been seen. bool processOnset(event_t& event, std::size_t pos, double resample_ratio); |