At Mon, 4 Sep 2006 20:27:41 +0100, Jochen Voss wrote: > > Hi Takashi, > > On Mon, Sep 04, 2006 at 08:28:32PM +0200, Takashi Iwai wrote: > > OK, maybe the problem is its naming. > I ignored this for the moment. Once we are sure how many controls > there are, we can think about the naming. > > > % amixer set "PCM Gain" 2 > > % amixer set "PCM Gain" 0 > > % amixer set "Capture" 0 > > % amixer set "Capture" 80% > > recording... > > > > % amixer set "PCM Gain" 0 > > % amixer set "PCM Gain" 2 > > % amixer set "Capture" 0 > > % amixer set "Capture" 80% > > recording... > > > > If the volumes of two cases are same, the IPGA isn't independent and > > both controls should be merged to a single control. > > I read the AK4524 data sheet and I see now what you mean. The > descriptions there are almost identical. > > I tried the following. My amixer output is at the end of the mail for > reference. first I created two shell scripts: > > -- s1.sh ------------------------------------------------------------- > #! /bin/sh > amixer set "PCM Capture Gain" 2 > amixer set "PCM Capture Gain" 0 > amixer set "PCM" 0 > amixer set "PCM" 80% > ---------------------------------------------------------------------- > > -- s2.sh ------------------------------------------------------------- > #! /bin/sh > amixer set "PCM Capture Gain" 0 > amixer set "PCM Capture Gain" 2 > amixer set "PCM" 0 > amixer set "PCM" 80% > ---------------------------------------------------------------------- > > and then I run the following command on the shell > > while true; do ./s1.sh; sleep 1; ./s2.sh; sleep 1; done > > While this was running I recorded a wav file with arecord. The volume > of the recorded file was extremely low (is this normal?) so I > normalised it with audacity. I looked at the wave form in audacity > and I played the normalised file with alsamixer. In s2.sh, use a higher value for "PCM Capture Gain", such as 20. If the volume is still low, then IPGA is not independent. > 1) I cannot hear or see the difference between the settings from s1.sh > and s2.sh. > > 2) As a test I tried the following: I can hear (and maybe just see) > the difference between 80% (value 102) and 82% (value 104). I cannot > notice any difference between 80% (value 102) and 81% (value 103). This doesn't matter. The ATT volume is corrected slightly to be linear to dB. 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 _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-devel