On Mon, Jun 09, 2003 at 12:45:18PM +0200, Akos Maroy wrote:
cool. my only question is: how do I map the alsa
devices to the oss devices?
Well, you don't - OSS has it's own mechanics for doing multiple /dev/dsp
type devices. The software you use has to support "multiple opens".
Some hardware and driver combinations let you open the driver multiple
times and the hardware/driver can figure out how things are supposed to
happen.
The common example of this is the emu10k1 drivers for the SB Live - the
OSS drivers support opening /dev/dsp multiple times. Each time you open
it for playback, you get a different hardware mixer channel. When you
playback sound, the card's hardware mixer mixes the streams you're
playing and you hear them.
It sounds like you want the input version of this. The way I understand it,
the first time you open /dev/dsp, you should get the first channel. The
second time, you should get the second channel, and so on.
I have no idea if there are OSS drivers that support multiple opens for
ice1712 cards. If ALSA's OSS emulation does multiple opens correctly, I
would guess that this would just work. Have you actually tried it?
--
Ross Vandegrift
ross(a)willow.seitz.com
A Pope has a Water Cannon. It is a Water Cannon.
He fires Holy-Water from it. It is a Holy-Water Cannon.
He Blesses it. It is a Holy Holy-Water Cannon.
He Blesses the Hell out of it. It is a Wholly Holy Holy-Water Cannon.
He has it pierced. It is a Holey Wholly Holy Holy-Water Cannon.
He makes it official. It is a Canon Holey Wholly Holy Holy-Water Cannon.
Batman and Robin arrive. He shoots them.