Paul,

I reached the same solution as you with the RT safe ring buffer. Sadly I moronically misunderstood the implementation  in AudioJack.cpp and ended up using the read / write ring buffer in reverse of how it was intended (I copy the space given by jack in the processing thread to write audio, then write to the copy in the ring buffer on a RT qthread. ) 

Instead I need to copy the audio buffer from lmms into jack using a similar mechanism. I'm hoping I can patch the code I wrote some time this week to do just that.

Cheers,

Carmelo

On Mar 31, 2010 7:43 AM, "Paul Giblock" <drfaygo@gmail.com> wrote:

Sure, give it a shot.  IIRC, jack ships with a ringbuffer impl which is RT safe.  This would of course introduce a buffer-sized delay, but like you mentioned, this would be ok.  I'm interested in seeing how such a solution would behave on a single core machine.

Paul


>
> On Mar 27, 2010 5:34 PM, "Carmelo Piccione" <carmelo.piccione@gmail.com> wrote:
>
> I'm also wi...

>
>
> On Fri, Mar 26, 2010 at 10:10 AM, Filipe Lopes <falktx@gmail.com> wrote:

> Thanks. I'll see what I ...


>
>
> ------------------------------------------------------------------------------
> Download Int...