Browse Source

Fix ringbuffer write fail warning (only once per commit write)

tags/1.9.7
falkTX 8 years ago
parent
commit
779fa645f8
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      source/utils/CarlaRingBuffer.hpp

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

@@ -136,6 +136,7 @@ public:

// all ok
fBuffer->head = fBuffer->wrtn;
fErrorWriting = false;
return true;
}

@@ -410,7 +411,6 @@ protected:
}

fBuffer->wrtn = writeto;
fErrorWriting = false;
return true;
}



Loading…
Cancel
Save