[linux-audio-dev] jack and alsa design issue

Alfons Adriaensen fons.adriaensen at alcatel.be
Fri Apr 8 14:53:30 UTC 2005

On Fri, Mar 18, 2005 at 10:47:55AM -0500, Paul Davis wrote:
> >I'm writing an application that will use alsa in the common case, but be
> >jack-capable. I'm faced with the following design question: Do I wrap
> >the jack part to emulate the read/write of alsa, or do I wrap the alsa
> >part to emulate the callback style of jack? In other words, do I push or
> >pull from the audio segment of the program?
> >...
> if your app is supposed to be a realtime audio app, then a callback
> driven model is almost demonstrably more correct.

Agreed 100%.

Write your app as a JACK client

More information about the Linux-audio-dev mailing list