All of lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: "Jochen Voß" <voss@maths.warwick.ac.uk>
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: [RFC] Add dB scale information to AK4xxx codec
Date: Mon, 04 Sep 2006 13:35:31 +0200	[thread overview]
Message-ID: <s5hejurlv98.wl%tiwai@suse.de> (raw)
In-Reply-To: <20060904111303.GA24842@localhost.localdomain>

At Mon, 4 Sep 2006 12:13:06 +0100,
Jochen Voß wrote:
> 
> Hi Takashi,
> 
> On Mon, Sep 04, 2006 at 11:58:57AM +0200, Takashi Iwai wrote:
> > > From table 17 (page 35) of the AK5365 specs I think that IPGA and DATT
> > > are only separate units inside the chip, but should be treated as one
> > > continuous scale for the purpose of the driver.  The table looks like
> > > the input volume can be adjusted in steps from "mute" to +12dB.  Why
> > > would we want two controls here?
> > 
> > Actually they are treated independently in the chip.  IPGA works like
> > a preamp, and the total volume is IPGA + DATT.  Even if you set a
> > value to IPGA with MSB, say 0x82, DATT won't be changed and the old
> > value is kept.  And it's vice versa - if you set 0x02 later, IPGA will
> > stay as 0x82.  This is so, at least with AK4524 and AK4528.  Possibly
> > this was changed on AK5365, though...
> Did you have a look at table 17?  I think the old behaviour was better.

Yes, the exactly same table appears in AK4524 datasheet, too.
The only question is whether they really behave _indenpendently_.

On AK4524, IPGA and IATT are actually two different values.  As I
wrote, 0x82 only changes IPGA value but doesn't change IATT.  0x02
changes only IATT but not IPGA.  And the total volume is IPGA + IATT.


Takashi

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

  reply	other threads:[~2006-09-04 11:35 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-28 11:38 [RFC] Add dB scale information to AK4xxx codec Takashi Iwai
2006-08-28 14:52 ` Takashi Iwai
2006-09-03 15:53 ` Jochen Voss
2006-09-04  9:58   ` Takashi Iwai
2006-09-04 11:13     ` Jochen Voß
2006-09-04 11:35       ` Takashi Iwai [this message]
2006-09-04 12:12         ` Jochen Voß
2006-09-04 17:41       ` Jochen Voss
2006-09-04 18:28         ` Takashi Iwai
2006-09-04 19:27           ` Jochen Voss
2006-09-05  9:36             ` Takashi Iwai
2006-09-05 19:24               ` Jochen Voss
2006-09-07 10:09                 ` Takashi Iwai
2006-09-07 10:29                   ` Jochen Voss
2006-09-07 10:33                     ` Takashi Iwai
2006-09-07 11:00                       ` Jochen Voss
2006-09-07 12:49                         ` Takashi Iwai
2006-09-07 14:52                           ` Takashi Iwai
2006-09-07 22:18                             ` Jochen Voss
2006-09-08 10:32                               ` Takashi Iwai
2006-09-10 22:38                                 ` Jochen Voss

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=s5hejurlv98.wl%tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=voss@maths.warwick.ac.uk \
    /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.