Re: [LAD] a *simple* ring buffer, comments pls?

From: David Robillard <d@email-addr-hidden>
Date: Fri Jul 08 2011 - 17:23:10 EEST

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

_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-dev
Received on Fri Jul 8 20:15:02 2011

This archive was generated by hypermail 2.1.8 : Fri Jul 08 2011 - 20:15:02 EEST