summaryrefslogtreecommitdiffstats
path: root/src/server
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2014-02-01 03:20:17 +0000
committerDavid Robillard <d@drobilla.net>2014-02-01 03:20:17 +0000
commit104aa8285df2b827fcbfe08b83ef931628976d90 (patch)
tree648e4d06e51ee9c954bf79ad0c49fec2fc5191b8 /src/server
parent7ce5adfcbc99549a5f2e450c1b0cc49e6c53ebdd (diff)
downloadingen-104aa8285df2b827fcbfe08b83ef931628976d90.tar.gz
ingen-104aa8285df2b827fcbfe08b83ef931628976d90.tar.bz2
ingen-104aa8285df2b827fcbfe08b83ef931628976d90.zip
Set correct size for sequence output buffers.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5331 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/server')
-rw-r--r--src/server/Buffer.cpp2
1 files changed, 1 insertions, 1 deletions
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);
}
}