On Thu, 20 Dec 2001, Vladimir Dergachev wrote: > > > On Thu, 20 Dec 2001, Jaroslav Kysela wrote: > > > On Thu, 20 Dec 2001, Vladimir Dergachev wrote: > > > > > Yet another alsa mixer (done by interface alsa libs to Tcl/Tk) is > > > available at http://gatos.sf.net . It is part of AVview - for standalone > > > mixer run alsa_mixer.scp, for AV playback and capture run avview.scp. > > > > > > ENUMERATED controls don't work as I don't seem to be able to make use of > > > snd_ctl_elem_info_get_item_name. > > > > The good example is the amixer utility. > > Ahh, that helped - thanks ! I wasn't calling snd_hctl_elem_info after > snd_ctl_elem_info_set_item. Is there any particular reason why this is > needed ?
You have to enumerate all items - the info structure holds only one item. snd_hctl_elem_info() updates the name of item according to the specified item index. Jaroslav ----- Jaroslav Kysela <[EMAIL PROTECTED]> SuSE Linux http://www.suse.com ALSA Project http://www.alsa-project.org _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel