summaryrefslogtreecommitdiff
path: root/plugin/drumgizmo_plugin.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2018-10-08 20:50:52 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2018-10-08 20:50:52 +0200
commita21ab2d9260bd4cb1af1de0b8cd4cad9e9687861 (patch)
tree4b449b45a05e2a5bd33859eaa2c7b1e7cf1bcca6 /plugin/drumgizmo_plugin.cc
parent30c2b53047b11b1517fa44b49adc52bc5119649c (diff)
Move event.h and audiotypes.h into src and get rid of the obsolete include folder.
Diffstat (limited to 'plugin/drumgizmo_plugin.cc')
-rw-r--r--plugin/drumgizmo_plugin.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/drumgizmo_plugin.cc b/plugin/drumgizmo_plugin.cc
index af2198c..5614014 100644
--- a/plugin/drumgizmo_plugin.cc
+++ b/plugin/drumgizmo_plugin.cc
@@ -380,7 +380,7 @@ void DrumGizmoPlugin::Input::run(size_t pos, size_t len, std::vector<event_t>& e
int i = mmap.lookup(event.key);
if(event.velocity && (i != -1))
{
- events.push_back({TYPE_ONSET, (size_t)i, (size_t)event.getTime(), event.velocity / 127.0f});
+ events.push_back({EventType::OnSet, (size_t)i, (size_t)event.getTime(), event.velocity / 127.0f});
}
}
}