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

Reply via email to