diff --git a/source/utils/CarlaRingBuffer.hpp b/source/utils/CarlaRingBuffer.hpp index f864b1270..f4a572e8b 100644 --- a/source/utils/CarlaRingBuffer.hpp +++ b/source/utils/CarlaRingBuffer.hpp @@ -448,7 +448,7 @@ protected: const uint32_t wrtn = fBuffer->wrtn; const uint32_t wrap = tail > wrtn ? 0 : fBuffer->size; - if (size >= wrap + tail - wrtn) + if (size > wrap + tail - wrtn) { if (! fErrorWriting) {