diff options
author | David Robillard <d@drobilla.net> | 2014-02-01 03:20:17 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2014-02-01 03:20:17 +0000 |
commit | 104aa8285df2b827fcbfe08b83ef931628976d90 (patch) | |
tree | 648e4d06e51ee9c954bf79ad0c49fec2fc5191b8 /src | |
parent | 7ce5adfcbc99549a5f2e450c1b0cc49e6c53ebdd (diff) | |
download | ingen-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')
-rw-r--r-- | src/server/Buffer.cpp | 2 |
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); } } |