diff options
author | David Robillard <d@drobilla.net> | 2012-03-10 02:29:38 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-03-10 02:29:38 +0000 |
commit | 639df9671f14b8dd4a615ef083f20fa4a1c88b8b (patch) | |
tree | 20e3e9e0f25a536d987eb688652401e9e91b0be9 /src/server | |
parent | 67da0cba9d08227b49854e0feda99ae8a0c13e3b (diff) | |
download | ingen-639df9671f14b8dd4a615ef083f20fa4a1c88b8b.tar.gz ingen-639df9671f14b8dd4a615ef083f20fa4a1c88b8b.tar.bz2 ingen-639df9671f14b8dd4a615ef083f20fa4a1c88b8b.zip |
Use new LV2 MIDI definitions.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4039 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/server')
-rw-r--r-- | src/server/ControlBindings.cpp | 2 | ||||
-rw-r--r-- | src/server/Notification.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/server/ControlBindings.cpp b/src/server/ControlBindings.cpp index 797b3721..e761ddac 100644 --- a/src/server/ControlBindings.cpp +++ b/src/server/ControlBindings.cpp @@ -79,7 +79,7 @@ ControlBindings::binding_key(const Raul::Atom& binding) const } else if (t->second == uris.midi_Controller) { if ((n = dict.find(uris.midi_controllerNumber)) != dict.end()) key = Key(MIDI_CC, n->second.get_int32()); - } else if (t->second == uris.midi_Note) { + } else if (t->second == uris.midi_NoteOn) { if ((n = dict.find(uris.midi_noteNumber)) != dict.end()) key = Key(MIDI_NOTE, n->second.get_int32()); } diff --git a/src/server/Notification.cpp b/src/server/Notification.cpp index a2e8350d..0d78d0b4 100644 --- a/src/server/Notification.cpp +++ b/src/server/Notification.cpp @@ -52,7 +52,7 @@ Notification::post_process(Notification& note, dict[uris.rdf_type] = uris.midi_ChannelPressure; break; case ControlBindings::MIDI_NOTE: - dict[uris.rdf_type] = uris.midi_Note; + dict[uris.rdf_type] = uris.midi_NoteOn; dict[uris.midi_noteNumber] = note.value.get_int32(); break; case ControlBindings::MIDI_RPN: // TODO |