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

From: Hans Fugal <hans@email-addr-hidden>
Date: Sat Mar 19 2005 - 17:37:35 EET

On Fri, 18 Mar 2005 at 23:53 +0100, Jens M Andreasen wrote:
> On Fri, 2005-03-18 at 08:24 -0700, Hans Fugal wrote:
>
> >
> > As I understand it, alsa can be asynchronous but it requires using SIGIO
> > which doesn't excite me. So I'd have to create another thread that
> > selects and fills a ringbuffer.
> >
>
> Ehrm ... How will putting SIGIO in another thread improve your
> performance? The job still have to get done, no?

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.

-- 
 .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

Received on Sat Mar 19 20:15:09 2005

This archive was generated by hypermail 2.1.8 : Sat Mar 19 2005 - 20:15:10 EET