All of lore.kernel.org
 help / color / mirror / Atom feed
From: Lee Revell <rlrevell@joe-job.com>
To: James Courtier-Dutton <James@superbug.co.uk>
Cc: alsa-devel <alsa-devel@lists.sourceforge.net>
Subject: Re: [PATCH] Adds dB gain to alsa-driver, alsa-lib.
Date: Thu, 15 Dec 2005 14:16:35 -0500	[thread overview]
Message-ID: <1134674195.12086.155.camel@mindpipe> (raw)
In-Reply-To: <43A1BEBD.4010304@superbug.co.uk>

On Thu, 2005-12-15 at 19:06 +0000, James Courtier-Dutton wrote:
> Lee Revell wrote:
> > On Thu, 2005-12-15 at 18:34 +0000, James Courtier-Dutton wrote:
> > 
> >>Hi,
> >>
> >>I have implemented dB gain reporting for ALSA mixer controls.
> >>By applying the attached patches to alsa-driver and alsa-lib, one will 
> >>then see dB values appear in alsamixer. (I added support to alsamixer a 
> >>long time ago)
> >>
> >>Currently, only the snd-ca0106 sound card reports the values.
> >>
> >>If the method is agreed upon, I will extend it to many more sound cards.
> > 
> > 
> > Can you briefly explain the process for adding this feature to an
> > existing driver (IOW say you have no docs just a vendor-obfuscated or
> > RE'd driver, how do you determine db_scale)?
> > 
> > Lee
> > 
> 
> There is no point in RE the windows driver, because windows does not 
> display dB values.
> You do it simply by measurements.
> You calibrate a line-in from a sound card that has documentation.
> Then connect it to the suspect sound card's output and measure it.
> 
> Same for mic/line in.
> 
> I will be implementing this dB support on creative cards first, as I 
> have some details for them. We have docs for all AC97 controls. So 
> hopefully that won't leave many other controls to do.
> 
> Please note, my last patch has a few errors in it, so that it does not 
> always supress the dB display with unsupported cards. I have fixed this 
> in my own tree, but I would like full feedback first.
> 
> Which sound card do you have?

Two Creative cards (an SBLive platinum CT4760 and Audigy2 ZS platinum)

Lee



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click

  reply	other threads:[~2005-12-15 19:16 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-15 18:34 [PATCH] Adds dB gain to alsa-driver, alsa-lib James Courtier-Dutton
2005-12-15 18:58 ` Lee Revell
2005-12-15 19:06   ` James Courtier-Dutton
2005-12-15 19:16     ` Lee Revell [this message]
2005-12-15 19:13 ` Jaroslav Kysela
2005-12-15 19:45   ` James Courtier-Dutton
2005-12-16 10:27     ` Takashi Iwai
2005-12-16 10:47       ` James Courtier-Dutton
2005-12-16 12:05         ` Takashi Iwai
2005-12-16 12:14           ` Jaroslav Kysela
2005-12-16 12:43           ` James Courtier-Dutton
2005-12-16 13:27             ` Takashi Iwai
2005-12-16 13:47               ` James Courtier-Dutton
2005-12-16 14:11                 ` Takashi Iwai
2005-12-16 14:11                   ` Jaroslav Kysela
2005-12-16 14:55                     ` Liam Girdwood
2005-12-16 11:09       ` Liam Girdwood
2005-12-16 12:37     ` Jaroslav Kysela
2005-12-16 13:08       ` James Courtier-Dutton
2005-12-16 14:05         ` Jaroslav Kysela
2005-12-16 14:24   ` Takashi Iwai
2005-12-15 19:32 ` Liam Girdwood
2005-12-15 19:48   ` James Courtier-Dutton
2005-12-16 10:49     ` Liam Girdwood

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=1134674195.12086.155.camel@mindpipe \
    --to=rlrevell@joe-job.com \
    --cc=James@superbug.co.uk \
    --cc=alsa-devel@lists.sourceforge.net \
    /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.