Hallo, Arve Knudsen hat gesagt: // Arve Knudsen wrote: > On Mon, 8 Dec 2003 11:49:45 +0100, Frank Barknecht <[EMAIL PROTECTED]> > wrote: > >Which reminds me to ask: how does Portaudio currently cope with > >user-defined, not enumerable interfaces in ALSA? > Only concrete hardware devices are considered at the moment as far as I > can tell, that is, we enumerate based on snd_card_next. I'll have to > admit I never really got into the ALSA configuration system. I might > look into it later, once I'm happy with the basic functionality of the > implementation (getting there).
Ah, that would be cool. I'm not really intimate with PortAudio, but my main application, Pure Data (not written by me ;), is using it in parallel to direct ALSA/JACK/OSS backends. The goal is, to switch to PA fully, but it would very annoying not to be able to select ALSA devices by name. Actually from a developer's perspective, ALSA's PCM configuration system is rather simple: Just use the name (char*) the user provides where you'd otherwise use something like "hw:0" or "default". The only problem is, that this is not enumarable. But not providing the possibility for a user, to specify a PCM name, is like trying to outsmart the user. ciao -- Frank Barknecht _ ______footils.org__ ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel