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:
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
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.
Linux-audio-dev mailing list