[PATCH alsa-lib v3 0/5] mixer: simple - Volume control fixes

Hans de Goede hdegoede at redhat.com
Sun Mar 7 14:30:00 CET 2021


Hi All,

Here is v3 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 version i3 s first adding a new generic exceptions table to
deal with controls with names which don't use the expected suffixes
to indicate their type.

Also new this version is a patch to deal with some output mute switches
which are called "Foo Channel Switch" instead of "Foo Playback Switch"
(patch 5/5).

Note patch 1/5 also fixes a regression introduced by the changes which
Jaroslav made to commit 86b9c67774bc ("mixer: simple - Unify simple_none: 
base_len() exception handling") before merging it.

Regards,

Hans


Hans de Goede (5):
  mixer: simple - Add generic exception mechanism for non-standard
    control-names
  mixer: simple - Move handling of 3D Control - Depth controls to the
    exceptions list
  mixer: simple - Add exceptions for non " Volume" suffixed capture
    vol-ctls used in ASoC realtek codec drivers
  mixer: simple - Add exceptions for some capture-vol-ctls which have a
    " Volume" suffix
  mixer: simple - Add exceptions for some Playback Switches with a "
    Channel Switch" suffix

 src/mixer/simple_none.c | 74 +++++++++++++++++++++++++----------------
 1 file changed, 46 insertions(+), 28 deletions(-)

-- 
2.30.1



More information about the Alsa-devel mailing list