summaryrefslogtreecommitdiffstats
path: root/src/libs/engine/OSCBuffer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/engine/OSCBuffer.cpp')
-rw-r--r--src/libs/engine/OSCBuffer.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/libs/engine/OSCBuffer.cpp b/src/libs/engine/OSCBuffer.cpp
index f8454a14..f16bcfbf 100644
--- a/src/libs/engine/OSCBuffer.cpp
+++ b/src/libs/engine/OSCBuffer.cpp
@@ -76,9 +76,8 @@ OSCBuffer::unjoin()
void
OSCBuffer::prepare_read(SampleCount nframes)
{
- assert(!_joined_buf || data() == _joined_buf->data());
-
rewind();
+ _this_nframes = nframes;
}
@@ -86,8 +85,6 @@ void
OSCBuffer::prepare_write(SampleCount nframes)
{
reset(nframes);
-
- assert(!_joined_buf || data() == _joined_buf->data());
}