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 2c543cd..0e374f2 100644 --- a/src/drumgizmo.cc +++ b/src/drumgizmo.cc @@ -139,7 +139,7 @@ bool DrumGizmo::run(size_t pos, sample_t *samples, size_t nsamples) resample_ratio = 1.0; } - if (settings_getter.audition_counter.hasChanged()) + if(settings_getter.audition_counter.hasChanged()) { settings_getter.audition_counter.getValue(); auto instrument_name = settings.audition_instrument.load(); @@ -154,7 +154,7 @@ bool DrumGizmo::run(size_t pos, sample_t *samples, size_t nsamples) } } - events.emplace_back(event_t{TYPE_ONSET, instrument_index, 0, velocity}); + events.push_back({EventType::OnSet, instrument_index, 0, velocity}); } bool active_events_left = |