Skip to content

Commit

Permalink
Fix CarlaRingBuffer::tryWrite
Browse files Browse the repository at this point in the history
Signed-off-by: falkTX <falktx@falktx.com>
  • Loading branch information
falkTX committed Aug 27, 2023
1 parent bdb9b07 commit be784fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/utils/CarlaRingBuffer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ class CarlaRingBufferControl
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)
{
Expand Down

0 comments on commit be784fc

Please sign in to comment.