summaryrefslogtreecommitdiff
path: root/drumgizmo/input/test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'drumgizmo/input/test.cc')
-rw-r--r--drumgizmo/input/test.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/drumgizmo/input/test.cc b/drumgizmo/input/test.cc
index 3a5ea47..955d218 100644
--- a/drumgizmo/input/test.cc
+++ b/drumgizmo/input/test.cc
@@ -86,15 +86,15 @@ void TestInputEngine::run(size_t pos, size_t len, std::vector<event_t>& events)
events.emplace_back();
auto& event = events.back();
- event.type = TYPE_ONSET;
+ event.type = EventType::OnSet;
if((length != -1) && (pos > (size_t)(length * sample_rate)))
{
- event.type = TYPE_STOP;
+ event.type = EventType::Stop;
}
else
{
- event.type = TYPE_ONSET;
+ event.type = EventType::OnSet;
}
if(instrument != -1)