On 6/15/07, Daniel O'Neill <[EMAIL PROTECTED]> wrote:
> To test I run aplay -D plug:dmix -D hw:1,0 
> /usr/share/sounds/alsa/Front_Center.wav from 2 different terminals, but the 
> second instance of it fails with the error "aplay: main:545: audio open 
> error: Device or resource busy"

Wrong aplay syntax and broken .asoundrc.

First you have defined pcm.internal and pcm.usb-audio twice - once as
an HW device and once as a dmix device.  Remove these stanzas:

pcm.internal {
       type hw
       card 0
}

pcm.usb-audio {
       type hw
       card 1
}

Then try:

aplay -Dusb-audio file.wav

from 2 terminals.

Also, there's no need to configure dmix for the internal card, ALSA
should do it automatically if you use the "default" device (aplay
-Ddefault file.wav or just aplay file.wav).

Lee

Lee

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to