-
Notifications
You must be signed in to change notification settings - Fork 140
Description
The driver currently passes the volume ramp type and length topology tokens to firmware. The min/max fields are left zeros (would be derived from TLV volume scale). Volume now assumes that ramp of mute to unity gain takes the defined linear ramp time and computes ramp step accordingly.
This assumption creates a very long ramp completion time for high gains (practical for microphone capture). It was fixed by firmware change to on the fly at new volume request re-calculate the the linear ramp step to not exceed the ramp time token.
If the driver is enhanced to lookup and pass the min/max values to firmware the volume component could use the same fixed linear ramp rate for any volume transition.
I marked this as enhancement. The current gain ramp operation with re-calculate step sounds subjectively good and I'm not aware of conflicting requirements for gain ramp so I didn't label this as bug.