Browse Source

Made sure that AbstractFifo::getFreeSpace returns the correct amount.

tags/2021-05-28
jules 11 years ago
parent
commit
883a94b762
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      modules/juce_core/containers/juce_AbstractFifo.cpp

+ 1
- 1
modules/juce_core/containers/juce_AbstractFifo.cpp View File

@@ -35,7 +35,7 @@ AbstractFifo::AbstractFifo (const int capacity) noexcept
AbstractFifo::~AbstractFifo() {}
int AbstractFifo::getTotalSize() const noexcept { return bufferSize; }
int AbstractFifo::getFreeSpace() const noexcept { return bufferSize - getNumReady(); }
int AbstractFifo::getFreeSpace() const noexcept { return bufferSize - getNumReady() - 1; }
int AbstractFifo::getNumReady() const noexcept
{


Loading…
Cancel
Save