On Fri, May 10, 2002 at 05:10:10PM -0400, Paul Davis wrote: > >On Friday 10 May 2002 14:48, Paul Davis wrote: > > > >> if you want to see how to do it "the right way", look at what "aplay > >> -L" does, since this takes the contents of ~/.asoundrc into > >> account. your code above doesn't do that at all. because ALSA allows > >> the user to define PCM devices with specific characteristics that are > >> slaves and/or subsets of h/w devices, what you're trying to do above > >> is really circumventing the ALSA configuration system. > > > >OK, 'aplay -L' gives a completely cryptic listing of what I assume to be a > >configuration setup. > > because of ~/.asoundrc, ALSA programs should *not* attempt to > enumerate "all devices". the user knows whats there, and can ask for > it using a simple name. otherwise, use "default" as the PCM device > name, and you will get something moderately sane whatever the > hardware. >
OK, so is there a way to get this list of "simple names" from alsalib? Then you could have your .asoundrc definitions and selection-box too. I think that's what this frequently-asked-question is really getting at. Regards, Mark Rages
