diff options
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 |