summaryrefslogtreecommitdiff
path: root/src/drumgizmo.cc
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/drumgizmo.cc
parentc2a9fd6efa4e137a30e157d442605bcfc947a967 (diff)
Make activeevents a member of InputProcessor.
Diffstat (limited to 'src/drumgizmo.cc')
-rw-r--r--src/drumgizmo.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/drumgizmo.cc b/src/drumgizmo.cc
index 63eda7b..66d071d 100644
--- a/src/drumgizmo.cc
+++ b/src/drumgizmo.cc
@@ -52,7 +52,7 @@ DrumGizmo::DrumGizmo(Settings& settings,
, oe(o)
, ie(i)
, kit()
- , input_processor(kit)
+ , input_processor(kit, activeevents)
, framesize(0)
, freewheel(false)
, events{}
@@ -230,7 +230,7 @@ bool DrumGizmo::run(size_t pos, sample_t *samples, size_t nsamples)
ie->run(pos, nsamples, events);
double resample_ratio = resampler[0].getRatio();
- bool active_events_left = input_processor.process(events, activeevents, pos, resample_ratio);
+ bool active_events_left = input_processor.process(events, pos, resample_ratio);
if(!active_events_left)
{