[pulseaudio-discuss] [PATCH 4/5] alsa-mixer: Remove the name option in the General section from path configuration files.

Tanu Kaskinen tanuk at iki.fi
Tue Apr 17 08:32:12 PDT 2012


On Tue, 2012-04-17 at 16:40 +0200, David Henningsson wrote:
> On 04/17/2012 10:08 AM, Tanu Kaskinen wrote:
> > The option is pointless, as far as I can see.
> 
> Actually, it is being used as a lookup key to well known descriptions.
> 
> I believe we should
>   - let the "name" correspond to the file name and be a unique key
>   - replace "name" with something else, maybe "description-key" in lack 
> of a better idea, which is used as this lookup key
>   - after this is done, recheck how we do duplicates. There was a 
> routine that placed indices on names and descriptions if it found more 
> than one, but I might have broken it... :-/

I agree. I'll implement at least the description-key idea.

-- 
Tanu



More information about the pulseaudio-discuss mailing list