diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2018-10-08 20:50:52 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2018-10-08 20:50:52 +0200 |
commit | a21ab2d9260bd4cb1af1de0b8cd4cad9e9687861 (patch) | |
tree | 4b449b45a05e2a5bd33859eaa2c7b1e7cf1bcca6 /src/drumgizmo.cc | |
parent | 30c2b53047b11b1517fa44b49adc52bc5119649c (diff) |
Move event.h and audiotypes.h into src and get rid of the obsolete include folder.
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 = |