Hi!
These are just ideas, I really don't know for sure. But maybe it helps...
Try wrapping your devices in plug-devices like this:
pcm.plug_player {
type plug
slave { pcm "audio_player"
}
Or try to remove the ctl-devices. With aplay and other good alsa-programs
they shouldn't be necessary. At least it says so on the alsa wiki somewhere.
Or try writing the ctl description like this:
ctl.audio_player {
type hw
card 0
}
Another option is to use the jack-plugin and start jack. So you could use
the jack-server to interconnect your apps.
pcm.myjack
type jack
playback_ports {
0 alsa_pcm:playback_1
1 alsa_pcm:playback_2
}
capture_ports {
0 alsa_pcm:capture_1
1 alsa_pcm:capture_2
}
}
I don't know if you can open this port multiple times at once. If not just
define a second "jack" device. To avoid problems, wrap them in plug devices,
as shown above with your audio_player device.
HTH.
Kindest regards
Julien
--------
Music was my first love and it will be my last (John Miles)
======== FIND MY WEB-PROJECT AT: ========
http://ltsb.sourceforge.net
the Linux TextBased Studio guide
======= AND MY PERSONAL PAGES AT: =======
http://www.juliencoder.de
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Alsa-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-user