On Fri, 23 Nov 2001, Nicolas DEVERGE wrote:
>
> Hi,
> I have installed the latest Alsa drivers on my linux distribution.
> I have a big problem : I can not play simultaneously several soundfiles on
> the same sound card (with have 10 output channels). I use aplay for playing
> on specific channel but I can not start two instances of aplay in the same
> time, the second wait for the end of the first for starting.
> My question is : is aserver a tool for playing simultaneously sound files on
> the same device, like esound or arts ? if so, where can I fond some
Yes and no. We're missing the mix plugin, but the share plugin allows to
merge more streams into one device, but the channels are not mixed. Try
this configuration:
server.local {
host localhost
socket /tmp/alsa
}
pcm.shared_left {
type share
slave.pcm "plughw:0,0,0"
bindings {
0 0
}
}
pcm.shared_right {
type share
slave.pcm "plughw:0,0,0"
bindings {
0 1
}
}
pcm.remote_left {
type shm
server local
pcm "plug:shared_left"
}
pcm.remote_right {
type shm
server local
pcm "plug:shared_right"
}
Run aserver and type:
aplay -D remote_left <a.wav>
aplay -D remote_right <b.wav>
You should hear simultaneously two wav files. The first from left and the
second from right speaker.
Jaroslav
-----
Jaroslav Kysela <[EMAIL PROTECTED]>
SuSE Linux http://www.suse.com
ALSA Project http://www.alsa-project.org
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel