Hi, On Fri, Jul 11, 2003 at 08:11:42PM +0200, David Scrève wrote: > > > Okay...I think I will cancel using ALSA : It's too hardware > > > dependant. I though it was containing an abstraction layer like > > > CoreAudio and DirectSound do. > > > > Are you trying to program ALSA? You may have an easier time > > with a library like SDL or OpenAL. > > > > If you are speaking purely about the multiple streams issue, > > the dmix plugin works fine for programs that support ALSA. > > > I have tried to use "plug:dmix" but not "dmix" ? What's the > difference ? > This works fine with plug:dmix, but I would like to know if this > device is available > on all soundcards ? > On my Via 686b, when I tried to open "plughw:0,0,0", and then > "plughw:0,0,1", the second snd_pcm_open hangs...
Maybe your chip doesn't support multiple opens. dmix should work with all soundcards in theory (though it is still rather new and has a bug every now and then). What about using snd_pcm_open_preferred() instead of snd_pcm_open? I think then the user can make their default plugin dmix, and ALSA will figure out what to open by itself and just tell you what it did, instead of trying to open a specific device. -- Ryan Underwood, <nemesis at icequake.net>, icq=10317253 ------------------------------------------------------- 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/bulletproofapps1 _______________________________________________ Alsa-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-user