Re: [linux-audio-user] ALSA -> OSS mapping question for Delta 1010LT card

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [linux-audio-user] ALSA -> OSS mapping question for Delta 1010LT card
From: Clemens Ladisch (clemens_AT_ladisch.de)
Date: Wed Jun 11 2003 - 10:11:45 EEST


Akos Maroy wrote:
> Clemens Ladisch wrote:
> > It should work if you use the aoss script from the alsa-oss package
> > which maps /dev/dspX to an ALSA PCM device named dspX, and define
> > these devices as capture devices for the desired channels with the
> > dsnoop plugin.
>
> this would all be fine it someone would point me to some documentation
> about aoss. the man page doesn't say much, except:
>
> SYNOPSYS
> aoss osscommand [arguments]
>
> Arguments
> osscommand
> A command that uses the OSS API
>
> arguments
> The appropriate arguments and options for the OSS command.
>
> well, what should I tell it?

"osscommand" is your program that wants to record from the OSS ports.
The aoss scripts detects all accesses to /dev/dsp0,1,2... and
redirects them to ALSA PCM devices named dsp0,1,2... which must be
defined in your .asoundrc. See
<http://www.mail-archive.com/alsa-devel_AT_lists.sourceforge.net/msg07207.html>
for an example of the dsnoop plugin, this would be something like the
following:

        # makes channels 4,5 of the Delta available as /dev/dsp0
        pcm.dsp0 {
                type dsnoop
                ipc_key 123456
                ipc_key_add_uid yes
                slave.pcm "hw:0,0" # or whatever your Delta is
                bindings {
                        0 4
                        1 5
                }
        }

HTH
Clemens


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Wed Jun 11 2003 - 10:15:55 EEST