[LAD] New kid on the block

Fons Adriaensen fons at linuxaudio.org
Wed Apr 2 19:56:54 UTC 2014


On Wed, Apr 02, 2014 at 08:47:12PM +0100, Will Godfrey wrote:

> The jack ring buffer is already used for data transfers
> from jack midi to the dsp code

Why would you want to do that ? Jack MIDI is received by
Jack's realtime thread which also calls the DSP code (or
so I assume). So any MIDI events that will be handled 
by the DSP code (normally note-on and off and controllers)
don't need to be buffered at all. You'd need to buffer
only those events that can't be handled by the real time
DSP code (e.g. program change).

Ciao,

-- 
FA

A world of exhaustive, reliable metadata would be an utopia.
It's also a pipe-dream, founded on self-delusion, nerd hubris
and hysterically inflated market opportunities. (Cory Doctorow)



More information about the Linux-audio-dev mailing list