All of lore.kernel.org
 help / color / mirror / Atom feed
From: Simon Hengel <simon.hengel@wiktory.org>
To: Clemens Ladisch <clemens@ladisch.de>
Cc: alsa-devel@alsa-project.org
Subject: Re: vi-like key bindings for alsamixer
Date: Thu, 2 Apr 2009 17:50:34 +0200	[thread overview]
Message-ID: <20090402155034.GA5790@john> (raw)
In-Reply-To: <49D46195.5030609@ladisch.de>

On Thu, Apr 02, 2009 at 08:56:21AM +0200, Clemens Ladisch wrote:
> > Is this deemed suitable for the masses?
> 
> _Undocumented_ commands certainly aren't.  ;-)
This is certainly true.

While working on documentation I realized that '+' and KEY_UP, contrary
to what is documented, do different things.

'+' increases volume by 1% whereas KEY_UP increases volume by 2%.

So actually it is like:

W | +           increase volume by 1%
w | KEY_UP      increase volume by 2%
X | -           decrease volume by 1%
x | KEY_DOWN    decrease volume by 2%

Still this makes no difference with my hardware, as the granularity is >
3% (e.g. snd_mixer_selem_get_playback_volume_range gives {0, 31} or {0,
15} for {min, max}).

I wonder if it would be a good idea to unify it. Consequently one could
do the same for left & right levels.

  reply	other threads:[~2009-04-02 15:50 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-01 19:58 vi-like key bindings for alsamixer Simon Hengel
2009-04-01 19:58 ` [PATCH - alsa-utils] Added vi-like key bindings to alsamixer Simon Hengel
2009-04-02  6:56 ` vi-like key bindings for alsamixer Clemens Ladisch
2009-04-02 15:50   ` Simon Hengel [this message]
2009-04-02 16:05     ` [PATCH - alsa-utils 1/2] alsamixer - unified behavior of volume control keys Simon Hengel
2009-04-02 16:05       ` [PATCH - alsa-utils 2/2] alsamixer - unified behavior of volume keys for left & right levels Simon Hengel
2009-04-20 12:56       ` [PATCH - alsa-utils 1/2] alsamixer - unified behavior of volume control keys 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=20090402155034.GA5790@john \
    --to=simon.hengel@wiktory.org \
    --cc=alsa-devel@alsa-project.org \
    --cc=clemens@ladisch.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.