Kjetil S. Matheussen wrote:
This isn't the same as Jack's ring buffer. It's a little wrapper around
Portaudio's ring buffer, which as said above, features memory barriers. Jack's
ring buffer has no memory barrier AFAIK.
Using it in one's project is just a matter of copying 4 files.
More about memory barriers and lock-free ring buffers:
This problem is also mentioned on the PulseAudio website:
http://www.pulseaudio.org/wiki/ThreadingModel (search for "barrier")
Olivier Guilyardi / Samalyse
Linux-audio-user mailing list