Re: [LAD] New kid on the block

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Will Godfrey <willgodfrey@...>
Cc: <linux-audio-dev@...>
Date: Thursday, April 10, 2014 - 6:10 pm

On Wed, 2014-04-02 at 20:47 +0100, Will Godfrey wrote:
[...]

It's just a ringbuffer, little thing. If you're concerned about a
dependency you can just copy the Jack one or choose from any number of
others floating around the web.

Here's my two, in C and C++ flavours, FWIW:

http://svn.drobilla.net/zix/trunk/zix/ring.h
http://svn.drobilla.net/zix/trunk/zix/ring.c

http://svn.drobilla.net/lad/trunk/raul/raul/RingBuffer.hpp

Last I checked, these, the Jack one, and the one(s) in Ardour are doing
the same things as far as barriers and correctness are concerned. I
can't rigorously claim they are correct, but they seem correctish and
several people have hammered on them with many threads with no
observable error.

There was a test suite / ringbuffer shootout (by Olivier Guilyardi and
subsequently tinkered with by others) called "rbtest", but the
repository seems to have fallen off the face of the Internet and I can't
find it anymore.

Cheers,

--
dr

_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[LAD] New kid on the block, Will Godfrey, (Wed Apr 2, 7:47 pm)
Re: [LAD] New kid on the block, David Robillard, (Thu Apr 10, 6:10 pm)
Re: [LAD] New kid on the block, Will J Godfrey, (Thu Apr 10, 7:15 pm)
Re: [LAD] New kid on the block, Nils, (Wed Apr 2, 8:13 pm)
Re: [LAD] New kid on the block, Will Godfrey, (Wed Apr 2, 9:31 pm)
Re: [LAD] New kid on the block, Ralf Mardorf, (Sat Apr 5, 5:14 pm)
Re: [LAD] New kid on the block, Mark D. McCurry, (Wed Apr 2, 10:05 pm)
Re: [LAD] New kid on the block, Fons Adriaensen, (Wed Apr 2, 7:56 pm)
Re: [LAD] New kid on the block, Will Godfrey, (Wed Apr 2, 9:17 pm)