On Tue, 14 Dec 1999, Stephen J. Turnbull <turnbull(a)sk.tsukuba.ac.jp>
wrote:
>>>>> "Jan" == Jan Vroonhof
<vroonhof(a)math.ethz.ch> writes:
Jan> This makes it coexist a lot better with old style
Jan> open("/dev/dsp") programs on Linux and thus makes it possible
Jan> to enable it by default without annoying users.
Oh, is _that_ what Daniel meant by mixing?
Er, no. The NAS I have does not block /dev/dsp, but that's a Debian
patch to the thing.
Esound actually accepts many client streams at once and mixes them. That
is, I am currently playing MP3 audio and I still get the sound files
played by XEmacs. At the same time.
It also comes with a LD_PRLOAD library that maps open("/dev/dsp") into
an Esound connection, with all the mixing and stuff. That lets old
software work at the same time :)
ESD actually holds /dev/dsp open while running though, just like the
non-patched NAS....
I like NAS because the various wails, whines, and whinges that Kyle
used to send (a shame that custom has been abandoned ;-) can be heard
while I replay my lectures with some Bach in the background---and the
sound sources are on three separate machines.
It's a similar thing with me :)
I suppose ESD can do that too, if you set it to listen on a TCP/IP
socket?
Yes, it can, as far as I can tell. I have not tried that part of it, to
date.
Daniel
--
A tranquil city of good laws, fine architecture, and clean streets is like a
classroom of obedient dullards, or a field of gelded bulls -- whereas a city
of anarchy is a city of promise.
-- Mark Helprin