Does it mean I have to open "plughw:0,0,0", "plughw:0,0,1"...or "plug:dmix" ? I did not find any doc about device name with snd_pcm_open, and aplay -l does not list anything like plughw, etc...
If I open "plughw:0,0,0", "plughw:0,0,1" for my via 686b, will it continue to work on other soundcard in the same way (with multiple stream with different format) ? Thanks, David > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Clemens Ladisch > Sent: Thursday, July 10, 2003 5:57 PM > To: David Scrève > Cc: [EMAIL PROTECTED] > Subject: Re: [Alsa-user] Multiple sounds playback > > > David Scrève wrote: > > I've successfully been able to play one sound using the > > snd_pcm_open("plughw:0,0"...) and snd_pcm_writei, but if I want to > > play another sound, snd_pcm_open hangs and I'm unable to > paly another > > sound. I though Alsa was responsible for mixing and > hardware channel > > allocation ? > > Only if you use the right plugin for this. Try "plug:dmix" > instead of "plughw:0,0". > > > I have a via_82xx Alsa driver, but it does not seems to handle > > severals pcm playback at the same time : I cannot open device with > > name "plughw:1,0","plughw:0,1",etc... > > See "aplay -l" for a list of PCM devices. The additional > streams on VIAxxx are subdevices of the first device IIRC, so > their name would be "plughw:0,0,0", "plughw:0,0,1" etc. > > > HTH > Clemens > > > ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps _______________________________________________ Alsa-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-user