Browse Source

Fixes #254. Incorrect use of fURIDs.midiEvent.

pull/263/head
parent
commit
8acb86f195
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      distrho/src/DistrhoUILV2.cpp

+ 1
- 1
distrho/src/DistrhoUILV2.cpp View File

@@ -315,7 +315,7 @@ protected:

LV2_Atom_MidiEvent atomMidiEvent;
atomMidiEvent.atom.size = 3;
atomMidiEvent.atom.type = fMidiEventURID;
atomMidiEvent.atom.type = fURIDs.midiEvent;

atomMidiEvent.data[0] = channel + (velocity != 0 ? 0x90 : 0x80);
atomMidiEvent.data[1] = note;


Loading…
Cancel
Save