[linux-audio-user] stupid, basic alsa question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

-- 
Tapio

[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux