Re: [Alsa-user] Need help: configure dmix with 2 sound cards

2007-06-15 Thread Daniel O'Neill
> > Try aplay -Dplug:usb-audio /usr/share/sounds/alsa/Front_Center.wav. > Multiple instances of that command can now be run simultaneously, but if I try to run it while XMMS is playing (it is using ALSA output driver) I get this error again: "ALSA lib pcm_dmix.c:864:(snd_pcm_dmix_open) unable

Re: [Alsa-user] Need help: configure dmix with 2 sound cards

2007-06-15 Thread Daniel O'Neill
> Your device must only support stereo but your're trying to play a mono file. > > Try aplay -Dplug:usb-audio /usr/share/sounds/alsa/Front_Center.wav. > Muchas gracias Lee, that was it! -- Daniel - This SF.net email i

Re: [Alsa-user] Need help: configure dmix with 2 sound cards

2007-06-15 Thread Lee Revell
On 6/15/07, Daniel O'Neill <[EMAIL PROTECTED]> wrote: > > > > 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 con

Re: [Alsa-user] Need help: configure dmix with 2 sound cards

2007-06-15 Thread Daniel O'Neill
> > 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

Re: [Alsa-user] Need help: configure dmix with 2 sound cards

2007-06-15 Thread Lee Revell
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 apla

[Alsa-user] Need help: configure dmix with 2 sound cards

2007-06-15 Thread Daniel O'Neill
There are 2 sound cards: an internal one and an external USB one. Here is listing for aplay -l: List of PLAYBACK Hardware Devices card 0: Intel [HDA Intel], device 0: AD198x Analog [AD198x Analog] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: Intel [HDA Intel], device 1: AD198