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