Re: ASoC - Support for multiple components

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Apr 26, 2010 at 5:49 AM, Mark Brown
<broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:

> 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").

How about instead of a string + id, we just have a string, and then
define a convention for various devices.  For instance, the codec
could be "name@bus-addr", so my cs4270 driver would register something
like "cs4270@0-004f".

-- 
Timur Tabi
Linux kernel developer at Freescale
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux