Ronald S. Bultje wrote: > for a given alsa device ("default", "dmix", "plughw:N", "hw:N,M", > "dspN", etc.), how do I automatically obtain the right device to use as > a audio mixer with that device?
Depends on your definition of "right device". In the general case this isn't possible because many cards don't have any mixer controls, or don't have the controls you want to use. Or the pcm device uses several cards, or none. What do you want to do with the mixer? > So far, it seems I can only attach to "hw:N" mixer devices. You can use any control device that is defined in your .asoundrc with something like: ctl.xxxxx { type hw card N } Regards, Clemens ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel