Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Sebastian H." <vand2@gmx.de>
To: Clemens Ladisch <clemens@ladisch.de>
Cc: ALSA Development Mailing List <alsa-devel@alsa-project.org>
Subject: Re: Decibel range / value from  snd_hctl_elem_t
Date: Fri, 29 Apr 2011 11:04:45 +0200	[thread overview]
Message-ID: <4DBA7F2D.2000206@gmx.de> (raw)
In-Reply-To: <4DBA5795.10902@ladisch.de>

Am 29.04.2011 08:15, schrieb Clemens Ladisch:
> Sebastian H. wrote:
>> 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
> 
> The hctl stuff is just a thin wrapper over the ctl stuff, so call
> snd_hctl_ctl and snd_hctl_elem_get_id, then snd_ctl_*dB*.

Ok, that works.
Thank you Clemens.

      reply	other threads:[~2011-04-29  9:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-28 18:47 Decibel range / value from snd_hctl_elem_t Sebastian H.
2011-04-29  6:15 ` Clemens Ladisch
2011-04-29  9:04   ` Sebastian H. [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=4DBA7F2D.2000206@gmx.de \
    --to=vand2@gmx.de \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox