Audio

Simple Circular Buffer in C++

The circular buffer or ring buffer can often times be difficult to implement.  I pulled my hair out for hours trying to implement one using a dynamic array, but I finally found a simple solution that works very well and efficiently. First of all what is a circular buffer? The simplest Read more…