diff options
Diffstat (limited to 'drumgizmo/input/test.cc')
-rw-r--r-- | drumgizmo/input/test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drumgizmo/input/test.cc b/drumgizmo/input/test.cc index bc88c48..c23fa18 100644 --- a/drumgizmo/input/test.cc +++ b/drumgizmo/input/test.cc @@ -105,7 +105,7 @@ void TestInputEngine::run(size_t pos, size_t len, std::vector<event_t>& events) event.instrument = rand() % 32; } - event.velocity = (float)rand()/(float)RAND_MAX; + event.velocity_or_state = (float)rand()/(float)RAND_MAX; event.offset = len; } |