All of lore.kernel.org
 help / color / mirror / Atom feed
From: Clemens Ladisch <clemens@ladisch.de>
To: Peter Wurmsdobler <peter@wurmsdobler.org>
Cc: alsa-devel@alsa-project.org
Subject: Re: From snd_kcontrol_new_t to amixer
Date: Wed, 14 May 2008 11:08:03 +0200	[thread overview]
Message-ID: <482AABF3.3060406@ladisch.de> (raw)
In-Reply-To: <4829D9F6.205@wurmsdobler.org>

Peter Wurmsdobler wrote:
> I am puzzled by an observation that runs against my common sense. The
> pmic-alsa-mixer.c provides 6 (six) snd_kcontrol_new_t controls with
> their callback functions, name and other members, then registers
> themusing snd_ctl_add(...). However, amixer shows only 5 (five), and all
> with different names. What is the process of generating these names if
> not from the kernel structures?

There is an additional layer (the "simple" mixer layer) on top of the
kernel mixer layer.

Use "amixer controls" or "amixer contents" to see the kernel controls.


HTH
Clemens

      reply	other threads:[~2008-05-14  9:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-13 18:12 From snd_kcontrol_new_t to amixer Peter Wurmsdobler
2008-05-14  9:08 ` Clemens Ladisch [this message]

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=482AABF3.3060406@ladisch.de \
    --to=clemens@ladisch.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=peter@wurmsdobler.org \
    /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.