On Sat, 19 Mar 2005 at 11:35 -0500, Paul Davis wrote:
> >Sorry, the other thread idea is in order to avoid SIGIO. The thread
> >would select on the audio device and drain it into a ringbuffer for the
> >other thread to use.
>
> s/select/poll/ => welcome to JACK :))
>
> you really want to do all this work over again?
I want to do as little as possible. :-)
Part of the problem is that the non-audio thread goes to the network
which means blocking, which means I can't just do it all within
jack_process().
Thanks to all your comments and questions I think my head has cleared. I
will use a ringbuffer between jack_process() and the network thread, and
emulate that when using ALSA. Someday, when jack starts itself as
needed (as I understand is planned), I wouldn't need to support ALSA.
-- .O. Hans Fugal | De gustibus non disputandum est. ..O http://hans.fugal.net | Debian, vim, mutt, ruby, text, gpg OOO | WindowMaker, gaim, UTF-8, RISC, JS Bach --------------------------------------------------------------------- GnuPG Fingerprint: 6940 87C5 6610 567F 1E95 CB5E FC98 E8CD E0AA D460
This archive was generated by hypermail 2.1.8 : Sun Mar 20 2005 - 20:15:07 EET