diff options
Diffstat (limited to 'src/server/BufferFactory.cpp')
-rw-r--r-- | src/server/BufferFactory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/BufferFactory.cpp b/src/server/BufferFactory.cpp index 599f8fc5..aeaa0d44 100644 --- a/src/server/BufferFactory.cpp +++ b/src/server/BufferFactory.cpp @@ -71,7 +71,7 @@ BufferFactory::set_block_length(SampleCount block_length) uint32_t BufferFactory::audio_buffer_size(SampleCount nframes) { - return sizeof(LV2_Atom_Vector) + (nframes * sizeof(float)); + return nframes * sizeof(Sample); } uint32_t |