[PATCH alsa-lib v2 0/3] mixer: Volume control fixes
Hans de Goede
hdegoede at redhat.com
Sun Feb 28 17:13:01 CET 2021
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.
Regards,
Hans
Hans de Goede (3):
mixer: Unify simple_none: base_len() exception handling
mixer: Add exception for non " Volume" suffixed capture vol-ctls used
in ASoC realtek codec drivers
mixer: Add exception for some capture-vol-ctls which have a " Volume"
suffix
src/mixer/simple_none.c | 83 +++++++++++++++++++++++++++++++----------
1 file changed, 64 insertions(+), 19 deletions(-)
--
2.30.1
More information about the Alsa-devel
mailing list