[alsa-devel] [PATCH v2] ASoC: dapm - Add API call to query the widgets of valid DAPM paths.

Mark Brown broonie at opensource.wolfsonmicro.com
Fri Jul 22 10:40:15 CEST 2011

On Thu, Jul 21, 2011 at 08:52:22PM +0100, Liam Girdwood wrote:
> On 20/07/11 21:15, Mark Brown wrote:

> > Hrm, this will only check the widgets connected to the first widget it
> > sees for an AIF.  For streams with multiple widgets connected (eg, left
> > and right channel) it's only going to see things on the first widget it
> > comes across which probably isn't what we were expecting.  Unless we
> > change to match the comment and query by widget name in which case we're
> > already requiring uniqueness.

> Yes, but I cant think of any single channel AIFs atm, unless Wolfson has some ?

Some of the older devices have mono voice AIFs but nothing current.  I
do think working by stream name is better.

More information about the Alsa-devel mailing list