Browse Source

Fix CarlaRingBuffer::tryWrite

Signed-off-by: falkTX <falktx@falktx.com>
pull/1807/head
falkTX 1 year ago
parent
commit
be784fcbe2
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      source/utils/CarlaRingBuffer.hpp

+ 1
- 1
source/utils/CarlaRingBuffer.hpp View File

@@ -448,7 +448,7 @@ protected:
const uint32_t wrtn = fBuffer->wrtn; const uint32_t wrtn = fBuffer->wrtn;
const uint32_t wrap = tail > wrtn ? 0 : fBuffer->size; const uint32_t wrap = tail > wrtn ? 0 : fBuffer->size;


if (size >= wrap + tail - wrtn)
if (size > wrap + tail - wrtn)
{ {
if (! fErrorWriting) if (! fErrorWriting)
{ {


Loading…
Cancel
Save