summaryrefslogtreecommitdiff
path: root/drumgizmo/input/test.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 /drumgizmo/input/test.cc
parent30c2b53047b11b1517fa44b49adc52bc5119649c (diff)
Move event.h and audiotypes.h into src and get rid of the obsolete include folder.
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)