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

Hans Fugal hans at fugal.net
Sat Mar 19 15:37:35 UTC 2005


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.linuxaudio.org/pipermail/linux-audio-dev/attachments/20050319/07ad40b7/attachment.pgp>


More information about the Linux-audio-dev mailing list