Browse Source

Fix invalid atom size on sendNote (LV2)

pull/148/head
Patrick Desaulniers Filipe Coelho <falktx@falktx.com> 6 years ago
parent
commit
3f5d988041
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      distrho/src/DistrhoUILV2.cpp

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

@@ -286,7 +286,7 @@ protected:
atomMidiEvent.data[2] = velocity;

// send to DSP side
fWriteFunction(fController, eventInPortIndex, sizeof(LV2_Atom_MidiEvent), fEventTransferURID, &atomMidiEvent);
fWriteFunction(fController, eventInPortIndex, lv2_atom_total_size(&atomMidiEvent.atom), fEventTransferURID, &atomMidiEvent);
}
#endif



Loading…
Cancel
Save