From 2968092e23456be2f586028241a0e82d17f4f5b0 Mon Sep 17 00:00:00 2001 From: estebon Date: Thu, 24 Jul 2025 10:57:44 +0200 Subject: [PATCH] Update atom-helpers.h Added _alignment_padding to _LV2_Atom_Buffer. Fixes #1902. from, https://lv2plug.in/ns/ext/atom "An LV2_Atom has a 32-bit size and type, followed by a body of size bytes. Atoms MUST be 64-bit aligned." --- source/includes/lv2/atom-helpers.h | 1 + 1 file changed, 1 insertion(+) diff --git a/source/includes/lv2/atom-helpers.h b/source/includes/lv2/atom-helpers.h index 97cef2c34..1e6abfa44 100644 --- a/source/includes/lv2/atom-helpers.h +++ b/source/includes/lv2/atom-helpers.h @@ -54,6 +54,7 @@ struct _LV2_Atom_Buffer uint32_t capacity; uint32_t chunk_type; uint32_t sequence_type; + uint32_t _alignment_padding; LV2_Atom_Sequence atoms; } LV2_Atom_Buffer;