[PATCH alsa-lib v2 0/3] mixer: Volume control fixes

Hans de Goede hdegoede at redhat.com
Thu Mar 4 22:50:43 CET 2021


Hi All,

On 2/28/21 5:13 PM, Hans de Goede wrote:
> Hi All,
> 
> Here is v2 of my series of alsa-lib volume-control fixes which I wrote
> while working on adding hw-volume control to UCM profiles for various
> x86 ASoC setups.
> 
> New in v2 is adding an extra entry to the capture_volume_names array
> for the "ADC PGA Gain Volume" control used in the es8316 codec driver
> in patch 3/3.
> 
> Note that patch 3/3 is not strictly necessary to make hw-volume control
> work. At least the PA hw-vol-control code does not care if the controls
> are wronly marked as global-volume-controls instead of
> capture-volume-controls. I mostly wrote patch 3/3 because for
> correctness reasons, so if it is deemed controversial we can drop it.

Self-nack, I have some plans to make this more generic and I found
another set of control-names which need special handling (which is
the motivation to make the exception mechanism more generic).

I will post a new version sometime this weekend.

Regards,

Hans



More information about the Alsa-devel mailing list