On Mon, 2 Feb 2004, Florian Schmidt wrote:
>
> Hi,
>
> i talked a bit with peter in the #alsa channel on irc.freenode.org and i
> found i can reproduce the behaviour on my machine. I have included my
> full .asoundrc and some more info about my machine at the bottom of this
> email.
>
> So basically it goes like this: my soundcard does support hw mixing for
> playback streams. It does not support opening the capture stream twice.
>
> Test: Use "arecord -D hw:0,0" in two terms at the same time
> Result: second arecord blocks until first one exits.
>
> I get baically the same for using sox to record something:
>
> Test: Use "sox -t ossdsp /dev/dsp fooN.wav" in two terms at the same
> time [N = 1,2]
> Result: second sox blocks until first one exits [you can see in the
> length of the recorded .wavs. sox iteself is not too verbose].
>
> Now we test the "pasymed" device which is just asym pointing to dmix and
> dsnoop and a plug plugin to do the converting magic [see .asoundrc]:
>
> Test: Use "arecord -D pasymed" in two terms at the same time
> Result: second arecord does _not_ block. dsnoop and asym seem to do
> their thing [i record silence, but see my other mail on that]
>
> Now, the pcm.dsp0 definition in the .asoundrc should point the aoss
> script to the asymed device. Sadly it still blocks.
>
> Test: Use "aoss sox -t ossdsp /dev/dsp fooN.wav" in two terms at the
> same time [N = 1,2]
> Result: second sox blocks until first one exits..
sox does not work with aoss. It uses fopen(). This call is not mangled in
our preloaded library.
Jaroslav
-----
Jaroslav Kysela <[EMAIL PROTECTED]>
Linux Kernel Sound Maintainer
ALSA Project, SuSE Labs
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user