[Portaudio] Lock free queue for callback thread
Ross Bencina
rossb-lists at audiomulch.com
Wed Apr 11 04:17:38 EDT 2012
On 11/04/2012 9:47 AM, Eric P. Mangold wrote:
> Perhaps you could use JACK's ringbuffer code... it's nice.
>
> http://jackaudio.org/files/docs/html/ringbuffer_8h.html
For reference, the PortAudio one is here:
http://www.assembla.com/code/portaudio/subversion/nodes/portaudio/trunk/src/common/pa_ringbuffer.h
http://www.assembla.com/code/portaudio/subversion/nodes/portaudio/trunk/src/common/pa_ringbuffer.c
The interface is different and may or may not be better for certain things.
Ross.
More information about the Portaudio
mailing list