[alsa-devel] [PATCH 2/2] ALSA: Integrate control based jack reporting with core jack reporting

Takashi Iwai tiwai at suse.de
Fri Feb 10 13:16:11 CET 2012


At Fri, 10 Feb 2012 11:36:06 +0000,
Mark Brown wrote:
> 
> On Fri, Feb 10, 2012 at 11:55:10AM +0100, Takashi Iwai wrote:
> 
> > OTOH, we can take an optional directional suffix, i.e.
> > "[location] base [direction] [channel]", too.  For example, base can
> > be "Video" or "Line", and direction can be "Out" or "In".
> 
> These names are going to get pretty verbose very easily.  Might it be
> worth putting some of this (and also other information like colour) into
> TLV information rather than part of the base jack name?

Yeah, we should avoid to put too much there.  There is a limitation
in the name string size, too.

>  So long as we
> can extract a name for the jack itself (which is probably the location
> in your example above) I think we're fine.
> 
> I think the main thing is to clean up this mess for 3.4 so we don't get
> too many confused userspaces out there.

Agreed.


Takashi


More information about the Alsa-devel mailing list