summaryrefslogtreecommitdiff
path: root/drumgizmo/input/jackmidi.cc
diff options
context:
space:
mode:
Diffstat (limited to 'drumgizmo/input/jackmidi.cc')
-rw-r--r--drumgizmo/input/jackmidi.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/drumgizmo/input/jackmidi.cc b/drumgizmo/input/jackmidi.cc
index 8f8d5cb..8459e67 100644
--- a/drumgizmo/input/jackmidi.cc
+++ b/drumgizmo/input/jackmidi.cc
@@ -133,7 +133,7 @@ void JackMidiInputEngine::process(jack_nframes_t num_frames)
int k = mmap.lookup(key);
if(k != -1 && velocity)
{
- events.push_back({TYPE_ONSET, (size_t)k, event.time, velocity / 127.f});
+ events.push_back({EventType::OnSet, (size_t)k, event.time, velocity / 127.f});
}
}
jack_midi_clear_buffer(buffer);