diff options
Diffstat (limited to 'src/drumgizmo.cc')
-rw-r--r-- | src/drumgizmo.cc | 4 |
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) { |