[alsa-devel] ASoC - Support for multiple components

Mark Brown broonie at opensource.wolfsonmicro.com
Mon Apr 26 12:49:39 CEST 2010


On Tue, Apr 20, 2010 at 11:46:07AM +0100, Liam Girdwood wrote:
> On Tue, 2010-04-20 at 10:17 +0300, Peter Ujfalusi wrote:

> > How the user will see these in one card?

> A subsequent patch will add an ID qualifier to kcontrol names and DAPM
> widget names. So we can have things like "Master Playback Volume.0" and
> "Master Playback Volume.1" to differentiate the two separate controls. 

It occurs to me that we probably want something a bit more flexible
here than just a numeric ID - most of the use cases for having more than
one of the same device are for things like 5.1 or dual speaker amps for
stereo where it'd be much more convenient to have the machine driver be
able to add text based prefixes to the control names (eg, "Left" and
"Right").


More information about the Alsa-devel mailing list