From a21ab2d9260bd4cb1af1de0b8cd4cad9e9687861 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Mon, 8 Oct 2018 20:50:52 +0200 Subject: Move event.h and audiotypes.h into src and get rid of the obsolete include folder. --- plugin/drumgizmo_plugin.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugin/drumgizmo_plugin.cc') 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& 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}); } } } -- cgit v1.2.3