From 7477318adc8de5244fc314939c296ae74605eaa5 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 28 Apr 2012 18:02:23 +0000 Subject: Fix MIDI input. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4306 a436a847-0d15-0410-975c-d299462d15a1 --- src/server/internals/Note.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/server/internals/Note.cpp') diff --git a/src/server/internals/Note.cpp b/src/server/internals/Note.cpp index 1a21ed37..6eb6ffb2 100644 --- a/src/server/internals/Note.cpp +++ b/src/server/internals/Note.cpp @@ -195,8 +195,8 @@ NoteNode::note_on(ProcessContext& context, uint8_t note_num, uint8_t velocity, F assert(time >= context.start() && time <= context.end()); assert(note_num <= 127); - Key* key = &_keys[note_num]; - Voice* voice = NULL; + Key* key = &_keys[note_num]; + Voice* voice = NULL; uint32_t voice_num = 0; if (key->state != Key::OFF) { -- cgit v1.2.1