mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Made sure that AbstractFifo::getFreeSpace returns the correct amount.
This commit is contained in:
parent
acebbfd576
commit
883a94b762
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue