[alsa-devel] How to trigger a widget?

Wang, Kuirong kuirongw at quicinc.com
Mon Feb 20 08:13:15 CET 2012


As I saw many examples to use the snd_soc_dapm_enable_pin() to trigger a particular widget. But I saw the widget has to be like a speaker, mic, lineout, etc. Could I use the snd_soc_dapm_enable_pin() to trigger any type of widget I want?  I tried to use it to trigger a supply widget, but I never see it works even I did snd_soc_dapm_sync() after the enable_pin.  Could someone provide some inputs?

Appreciated your time.

Thanks,

Kuirong Wang


More information about the Alsa-devel mailing list