From c28c8b9e15b3f20dc9c09c1002ac6deb67d4af9a Mon Sep 17 00:00:00 2001 From: falkTX Date: Fri, 11 Feb 2022 04:26:23 +0000 Subject: [PATCH] Fix LV2 event out size for readable states Signed-off-by: falkTX --- distrho/src/DistrhoPluginLV2.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/distrho/src/DistrhoPluginLV2.cpp b/distrho/src/DistrhoPluginLV2.cpp index 323225ad..2b0bb4a2 100644 --- a/distrho/src/DistrhoPluginLV2.cpp +++ b/distrho/src/DistrhoPluginLV2.cpp @@ -772,6 +772,8 @@ public: lv2_atom_forge_string(&atomForge, value.buffer(), static_cast(value.length()+1)); lv2_atom_forge_pop(&atomForge, &forgeFrame); + + msgSize = ((LV2_Atom*)msgBuf)->size; } else {