Browse Source

Don't pad LV2 UI->DSP messages

pull/20/merge
falkTX 8 years ago
parent
commit
7d1b9a7d1f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      distrho/src/DistrhoUILV2.cpp

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

@@ -239,7 +239,7 @@ protected:
const size_t msgSize(tmpStr.length()+1);

// reserve atom space
const size_t atomSize(lv2_atom_pad_size(sizeof(LV2_Atom) + msgSize));
const size_t atomSize(sizeof(LV2_Atom) + msgSize);
char atomBuf[atomSize];
std::memset(atomBuf, 0, atomSize);



Loading…
Cancel
Save