On Friday 08 May 2009 15:32:08 ext Mark Brown wrote:
On Fri, May 08, 2009 at 02:56:50PM +0300, Peter Ujfalusi wrote:
Realistically we can not add 2581ms delay to the headsetl_event function... We could keep the VMID enabled all the time (which increases the idle power consumption by ~0.001A), but then the muting of the headset
Generally you want to leave VMID up all the time for exactly this reason
- ramping it cleanly with that generation of hardware just takes too
long to do it regularly during normal operation.
(HS_POP_GAIN:HSL_GAIN, HSR_GAIN = 0) will give the 'tuck'...
Have you tried ramping the gain down gradually? DAPM can do that for you automatically if the volume control is attached to the PGA.
I'll try that on Monday, but is it a problem that the HSL_GAIN and HSR_GAIN looks like this: 0 == Off 1 == 6 dB 2 == 0 dB 3 == -6 dB