[LAD] jack_ringbuffer or port_buffer ?

Paul Davis paul at linuxaudiosystems.com
Mon May 18 12:27:33 UTC 2009

On Mon, May 18, 2009 at 3:52 AM, hermann meyer <brummer- at web.de> wrote:
> Hi all
> I have a question about the useage from the jack_ringbuffer for midi
> out_put. I'am unsure to use it or not ? Can someone tell me what is the
> advance when I use it, in relation to write direct to the port_buffer ?

they are totally unrelated.

the port buffer is where you read/write data that you wish to
collect/deliver to the rest of the JACK system.

using a ringbuffer is an optional but useful approach when you need to
make the data read/written during the process callback available
to/generated by some other thread.

More information about the Linux-audio-dev mailing list