On Wed, 12 Feb 2003, Marc Titinger wrote:
> This looks Great !
>
> I haven't yet experimented a lot with .asoundrc files, so please excuse
> me if the following questions are irrelevant or OTO, but:
>
> I was wondering if one could define a plug pcm, that offers two stereo
> pairs routed with policy "average" to a single-stereo "hw" slave.
>
> My understanding is that until this dmix pcm, there was no "official"
> means supported by alsalib to achieve software mix of streams comming
> from differents apps.
Yes, that's true.
> Could I have one app open the first pair of my hypothetic plug pcm, and
> another app open the second pair ? I guess this would be managed like a
> concurrent access to a pcm, and block or fail the second open() call.
>
> Would'nt it be nice to create a dmix pcm "behind" a such plug pcm, to
> provide mix in a transparent way ?
Some cards with multiple open hardware acceleration doesn't need this
default. Also, the dmix plugin has some limited things so I don't prefer
to select it as default.
>
> thanks for your light over this
> Marc.
I've just added the definition of dmix plugin to the global alsa
configuration file. Usage (device name only):
plug:dmix
"plug:'dmix:RATE=44100'"
"plug:'dmix:SLAVE=\'hw:0,0,2\',RATE=44100'"
Jaroslav
-----
Jaroslav Kysela <[EMAIL PROTECTED]>
Linux Kernel Sound Maintainer
ALSA Project, SuSE Labs
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel