[LAD] a *simple* ring buffer, comments pls?
David Robillard
d at drobilla.net
Fri Jul 8 14:23:10 UTC 2011
On Thu, 2011-07-07 at 20:04 -0500, Gabriel M. Beddingfield wrote:
> On Thursday, July 07, 2011 07:50:57 pm James Morris wrote:
> > I thought a "lock-free" ring buffer was supposed to be
> > the easy solution!
>
> It is... when you re-use one that's already been written and
> debugged. ;-)
>
> Why not copy/paste the JACK ringbuffer (C) or even Ardours
> (C++ Container)?
Here's another C++ one, for the record:
http://svn.drobilla.net/lad/trunk/raul/raul/RingBuffer.hpp
-dr
More information about the Linux-audio-dev
mailing list