All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Sebastian H." <vand2@gmx.de>
To: ALSA Development Mailing List <alsa-devel@alsa-project.org>
Subject: Decibel range / value from  snd_hctl_elem_t
Date: Thu, 28 Apr 2011 20:47:05 +0200	[thread overview]
Message-ID: <4DB9B629.8090700@gmx.de> (raw)

Hello list

I'm stuck with the hctl interface.
What is the best way to get
1. the decibel range from a snd_hctl_elem_t
2. the decibel value from a snd_hctl_elem_t

In the "Simple Mixer Interface" there are
snd_mixer_selem_get_playback_dB,
snd_mixer_selem_get_capture_dB,
snd_mixer_selem_get_playback_dB_range and
snd_mixer_selem_get_capture_dB_range

But I can't find anything like that in the
"High level Control Interface".


Possibly related: What does TLV stand for?
http://de.wikipedia.org/wiki/Type-Length-Value ?


Sebastian H.

             reply	other threads:[~2011-04-28 18:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-28 18:47 Sebastian H. [this message]
2011-04-29  6:15 ` Decibel range / value from snd_hctl_elem_t Clemens Ladisch
2011-04-29  9:04   ` Sebastian H.

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=4DB9B629.8090700@gmx.de \
    --to=vand2@gmx.de \
    --cc=alsa-devel@alsa-project.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.