On Wed, Mar 16, 2005 at 07:02:26PM +0100, Atte André Jensen wrote:
> Hi
>
> Is it possible to have two (or more) applications write to the same
> soundcard at the same time with alsa?
Yes, using the dmix plugin provided by the alsa library. Use something like:
# aplay -D dmix:SLAVE=\"hw:0,0\",RATE=44100 x.wav
to play x.wav using aplay and the dmix plugin. You should be able
to start multiple aplays at the same time.
I don't know how good quality this produces, most people use JACK
(http://jackit.sf.net/) instead.
-- TapioReceived on Thu Mar 17 00:15:12 2005
This archive was generated by hypermail 2.1.8 : Thu Mar 17 2005 - 00:15:13 EET