All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Henningsson <david.henningsson@canonical.com>
To: Raymond Yau <superquad.vortex2@gmail.com>
Cc: Takashi Iwai <tiwai@suse.de>,
	ALSA Development Mailing List <alsa-devel@alsa-project.org>
Subject: Re: [PATCH] ALSA: hda - Don't be too specific for conflicting boost ctl names
Date: Fri, 20 Dec 2013 14:54:05 +0100	[thread overview]
Message-ID: <52B44BFD.5060005@canonical.com> (raw)
In-Reply-To: <CAN8cciZ2hX5VJ2D4LpwZBbw4HoQdUXhsCbSVNdAUeFy-AscL0A@mail.gmail.com>

On 12/20/2013 02:36 PM, Raymond Yau wrote:
> 
> 
>     >>> When a boost control influences on multiple input paths, we
>     shouldn't
>     >>> pick up the name string specific to one input but rather choose
>     a more
>     >>> generic name.  A problem seen often is that a single mic boost
>     >>> controls both internal and external mics although the driver
>     picks up
>     >>> the very first name randomly like "Internal Mic Boost".  This should
>     >>> have been "Mic Boost", instead.
>     >>>
>     >>> This patch tries to correct that behavior: when a boost control is
>     >>> available, check whether it conflicts with other inputs.  If it
>     does,
>     >>> use a common string ("Mic", "Line") as long as possible, or take a
>     >>> generic name "Input".
>     >>
>     >> Hrm. I thought today "Mic Boost" is quite common, and meaning the mic
>     >> boost of the non-internal mic. So I agree there is a problem -
>     and thank
>     >> you for trying to fix it - but isn't this just changing one
>     problem for
>     >> another? Now we don't know if a "Mic Boost" control controls the
>     >> internal mic or not.
>     >
>     > That's true, and the problem isn't new...
>     > I'm fine to use a different name as a boost control used for multiple
>     > mics, though.  Spell your wish.
> 
>     If *all* inputs go through the boost, then just preferring "Capture
>     Boost" or "Input Boost" over "Mic Boost" would do the trick. I e, just
>     skip the logic that checks for all inputs being of the same type.
> 
> 
> not all inputs go through the boost,
> 
> only two mic share boost but line in, CD, aux, stereo mix don't

So what is your suggestion for a better and more consistent name?


-- 
David Henningsson, Canonical Ltd.
https://launchpad.net/~diwic

  reply	other threads:[~2013-12-20 13:54 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-18 17:39 [PATCH] ALSA: hda - Don't be too specific for conflicting boost ctl names Takashi Iwai
2013-12-19  5:34 ` David Henningsson
2013-12-19 11:20   ` Takashi Iwai
2013-12-19 11:46     ` David Henningsson
2013-12-20 13:36       ` Raymond Yau
2013-12-20 13:54         ` David Henningsson [this message]
2013-12-19  9:54 ` Raymond Yau
2013-12-19 11:21   ` Takashi Iwai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=52B44BFD.5060005@canonical.com \
    --to=david.henningsson@canonical.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=superquad.vortex2@gmail.com \
    --cc=tiwai@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.