From 104aa8285df2b827fcbfe08b83ef931628976d90 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 1 Feb 2014 03:20:17 +0000 Subject: Set correct size for sequence output buffers. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5331 a436a847-0d15-0410-975c-d299462d15a1 --- src/server/Buffer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/server/Buffer.cpp b/src/server/Buffer.cpp index d2a550e5..ebab53fd 100644 --- a/src/server/Buffer.cpp +++ b/src/server/Buffer.cpp @@ -212,7 +212,7 @@ Buffer::prepare_output_write(Context& context) { if (_type == _factory.uris().atom_Sequence) { _atom->type = (LV2_URID)_factory.uris().atom_Chunk; - _atom->size = _capacity - sizeof(LV2_Atom_Sequence); + _atom->size = _capacity - sizeof(LV2_Atom); } } -- cgit v1.2.1