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: AD198x Digital [AD198x Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: System [USB Audio System], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
Here is my ~/.asoundrc, however, dmix is only working with hw:0,0
pcm.internal {
type hw
card 0
}
pcm.internal {
type dmix
ipc_key 1234
slave {
pcm "hw:0,0"
}
bindings {
0 0
1 1
}
}
ctl.internal {
type hw
card 0
}
pcm.usb-audio {
type hw
card 1
}
pcm.usb-audio {
type dmix
ipc_key 4321
slave {
pcm "hw:1,0"
}
bindings {
0 0
1 1
}
}
ctl.usb-audio {
type hw
card 1
}
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"
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-user