diff options
Diffstat (limited to 'src/libs/engine/OSCBuffer.cpp')
-rw-r--r-- | src/libs/engine/OSCBuffer.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libs/engine/OSCBuffer.cpp b/src/libs/engine/OSCBuffer.cpp index d3d1c952..977d4e66 100644 --- a/src/libs/engine/OSCBuffer.cpp +++ b/src/libs/engine/OSCBuffer.cpp @@ -89,14 +89,13 @@ OSCBuffer::prepare_read(SampleCount nframes) { assert(!_joined_buf || data() == _joined_buf->data()); - reset(nframes); + rewind(); } void OSCBuffer::prepare_write(SampleCount nframes) { - clear(); reset(nframes); assert(!_joined_buf || data() == _joined_buf->data()); |