Re: Multiple applications using sound drivers?

Brandon S. Allbery KF8NH (allbery@kf8nh.apk.net)
Sat, 27 Feb 1999 18:54:49 -0500


In message <Pine.SOL.3.96.990227175458.1212B-100000@gauguin.ececs.uc.edu>, Rafa
el Reilova writes:
+-----
| I think the un*x way is to have a sound server processs manage the
| different sound sources from userspace, and have only the sound server
| talk directly to the kernel drivers. Of course, all programs which talk
| directly to /dev/dsp would have to be recoded to use the sound server
| library and API.
+--->8

Not necessarily. esd, for instance, provides an "esddsp" script which
LD_PRELOADs a shared library which intercepts opens of /dev/dsp and opens
a channel to esd instead. (Of course, this fails for setuid programs.)

-- 
brandon s. allbery	[os/2][linux][solaris][japh]	 allbery@kf8nh.apk.net
system administrator	     [WAY too many hats]	   allbery@ece.cmu.edu
carnegie mellon / electrical and computer engineering			 KF8NH
     We are Linux. Resistance is an indication that you missed the point.

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/