LWN.net Logo

+1 for no userspace daemon

+1 for no userspace daemon

Posted Sep 22, 2008 23:22 UTC (Mon) by nix (subscriber, #2304)
In reply to: +1 for no userspace daemon by lysse
Parent article: LPC: Linux audio: it's a mess

A 'stream/callback interface' can be modelled as a pair of files, one of
which is a source of data and one a sink, or as a single file which you
can read() responses from as you write() stuff to it. Anything you can do
with a TCP/IP socket you can do with a suitably backed file, and we know
very well that you can define protocols over network sockets :)


(Log in to post comments)

+1 for no userspace daemon

Posted Sep 23, 2008 6:35 UTC (Tue) by lysse (guest, #3190) [Link]

That just shows that the two models are equivalent in expressive power, like inheritance and delegation. If we couldn't synthesise one from the other, JACK couldn't exist - but it'd still be nicest of all to have both available at the lowest level :)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds