Re: [ILUG] multiple sound cards...

From: Aaron McDaid (hoss at domain technologist.com)
Date: Sun 22 Apr 2001 - 15:34:32 IST


On Sun, Apr 22, 2001 at 03:36:45AM +0100, kevin lyda wrote:
> On Fri, Apr 20, 2001 at 01:38:16PM +0100, John P. Looney wrote:
> multiple processes accessing sound cards is *not* trivial.

Let's hope BeOS is GPLed. Their multimedia support is great, AFAIK.

> i know of three solutions: rplay, esd and ncd audio. since none of them
> is standard, audio access is a problem for many apps.

I only have experience with esd and I hate it but I can't help thinking
there must be an easy way to do mix sound.
What about making /dev/dsp1 /dev/dsp2 /dev/dsp3 ... fifos.
Then run some daemon listening on them which will mix them all together
and put the result to /dev/dsp.

In fact, would it be possible to rename /dev/dsp to /dev/realdsp and
make /dev/dsp a symlink to the next available /dev/dsp[1-3] ?
The daemon could manage the symlink so that every program that opens
/dev/dsp gets a free fifo!

I don't see why we have to bother with esd or anything like that
unless we're doing sound over a network. Mmmm, this daemon I am
talking about could handle the networking!

> kevin

Aaron - who made a half-assed attempt at something like this last week.



This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:09:59 GMT