# AbstractFIFO

**URL:** <https://forum.juce.com/t/abstractfifo/10246>\
**Category:** General JUCE discussion\
**Created:** [April 6, 2013, 2:35pm UTC](https://forum.juce.com/t/abstractfifo/10246 "2013-04-06T14:35:00Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![chkn](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/chkn/32/3862_2.png) [@chkn](https://forum.juce.com/u/chkn)\
**Post date:** [April 6, 2013, 6:11pm UTC](https://forum.juce.com/t/abstractfifo/10246/2 "2013-04-06T18:11:20Z")

</div>

The “problem” is when you fill the buffer with the whole buffersize, than the end-Pointer has the same position as the begin pointer, which is an ambiguous state, this can mean that the buffer is full, or empty.

So, thats why you have add 1 to your buffersize. (This is something you learn when you write your own fifo-class ( [http://www.rawmaterialsoftware.com/viewtopic.php?f=2&t=10118](http://www.rawmaterialsoftware.com/viewtopic.php?f=2&t=10118) )

---

_[View the full topic](https://forum.juce.com/t/abstractfifo/10246)._
