Hi,
I've gotten a little more information on my asym problems after setting
things up with the dmix and dsnoop plugins I had defined, instead of just
the example given. The error message is now different, depending on
whether I start aplay or arecord first. Maybe that's progress? :)
If I start arecord and then aplay, the error is the same as it's been:
$ aplay -v -Dduplex tmp.wav
ALSA lib pcm_direct.c:632:(snd_pcm_direct_initialize_slave) requested or auto-fo
rmat is not available
ALSA lib pcm_dmix.c:874:(snd_pcm_dmix_open) unable to initialize slave
aplay: main:502: audio open error: Invalid argument
If I start aplay and then try to start arecord, I get:
$ arecord -v -f cd -Dduplex test.wav
ALSA lib pcm_direct.c:193:(make_local_socket) connect failed: No such file or di
rectory
ALSA lib pcm_dsnoop.c:590:(snd_pcm_dsnoop_open) unable to connect client
arecord: main:502: audio open error: No such file or directory
The above has me completely baffled. To make things more confusing,
arecord or aplay work fine, even running multiple instances of them at the
same time through the "duplex" plug, as long as I don't try using them
together.
Relevant part of .asoundrc:
---
pcm.dm1 {
type dmix
ipc_key 1234
slave {
pcm "hw:0,0"
period_time 0
period_size 1024
buffer_size 8192
}
}
pcm.dsn1 {
type dsnoop
ipc_key 1235
slave {
pcm "hw:0,0"
period_time 0
period_size 1024
buffer_size 8192
}
}
# Currently only half duplex
pcm.duplex {
type asym
playback.pcm "dm1"
capture.pcm "dsn1"
}
---
Ideas, anyone? Thanks.
Take care,
Steve
-------------------------------------------------------
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