Browse Source

Fix initial size of lv2 atom output buffer

pull/20/merge
falkTX 7 years ago
parent
commit
34e604fd12
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      distrho/src/DistrhoPluginLV2.cpp

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

@@ -592,7 +592,7 @@ public:
uint32_t size, offset = 0;
LV2_Atom_Event* aev;

fPortEventsOut->atom.size = 0;
fPortEventsOut->atom.size = sizeof(LV2_Atom_Sequence_Body);
fPortEventsOut->atom.type = fURIDs.atomSequence;
fPortEventsOut->body.unit = 0;
fPortEventsOut->body.pad = 0;


Loading…
Cancel
Save