On Tue, 6 Oct 2009, Pavel Hofman wrote: > Takashi Iwai wrote: >> At Tue, 6 Oct 2009 14:51:06 +0200, >> pavel.hofman@xxxxxxxxxxx wrote: >>> From: Pavel Hofman <pavel.hofman@xxxxxxxxxxx> >>> >>> * The "Multi Track Peak" control is now of PCM type, to avoid >>> confusing users in other alsa mixers. >> >> We still need to handle the older kernels, so it has to retry with >> IFACE_MIXER as fallback. >> >> Could you fix and repost? > > Sure, just would you please tell me which snd_ctl_elem method to use to > check for existence of the control? I have no experience with alsa-lib Just use snd_ctl_elem_read() as in update_peak_switch(). If an error is returned, control is not present. Jaroslav ----- Jaroslav Kysela <perex@xxxxxxxx> Linux Kernel Sound Maintainer ALSA Project, Red Hat, Inc. _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxx http://mailman.alsa-project.org/mailman/listinfo/alsa-devel