All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jaroslav Kysela <perex@perex.cz>
To: Hans de Goede <hdegoede@redhat.com>, alsa-devel@alsa-project.org
Subject: Re: [PATCH alsa-lib 0/5] Add generic exception mechanism for non-standard control-names
Date: Tue, 4 May 2021 10:53:36 +0200	[thread overview]
Message-ID: <0f7f1063-4a14-5d99-71b2-e700c74828c2@perex.cz> (raw)
In-Reply-To: <20210503205231.167346-1-hdegoede@redhat.com>

Dne 03. 05. 21 v 22:52 Hans de Goede napsal(a):
> Hi All,
> 
> This series seems to have fallen through the cracks,
> so here is a resend of it.
> 
> Regards,

Thank you, Hans. The problem with this implementation is that it's really card
specific. Also, ASoC codec drivers have usually ID names based on registers so
the mapping for the user is problematic anyway (the functionality is different
from the name or not related to the name). I'm actually evaluating another
solution which is more flexible:

1) add control remap plugin to allow the control ID remapping in the
alsa-lib's control API, so we can mangle those identifiers there (already
implemented)

2) add local and global alsa-lib configurations per UCM card specified in the
UCM configuration files; the configurations may be for both control and PCM
devices (restrict or set specific parameters)

I will notify you when I finish my tests.

				Jaroslav

> 
> 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(-)
> 


-- 
Jaroslav Kysela <perex@perex.cz>
Linux Sound Maintainer; ALSA Project; Red Hat, Inc.

  parent reply	other threads:[~2021-05-04  8:54 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-03 20:52 [PATCH alsa-lib 0/5] Add generic exception mechanism for non-standard control-names Hans de Goede
2021-05-03 20:52 ` [PATCH alsa-lib 1/5] mixer: simple - " Hans de Goede
2021-05-03 20:52 ` [PATCH alsa-lib 2/5] mixer: simple - Move handling of 3D Control - Depth controls to the exceptions list Hans de Goede
2021-05-03 20:52 ` [PATCH alsa-lib 3/5] mixer: simple - Add exceptions for non " Volume" suffixed capture vol-ctls used in ASoC realtek codec drivers Hans de Goede
2021-05-03 20:52 ` [PATCH alsa-lib 4/5] mixer: simple - Add exceptions for some capture-vol-ctls which have a " Volume" suffix Hans de Goede
2021-05-03 20:52 ` [PATCH alsa-lib 5/5] mixer: simple - Add exceptions for some Playback Switches with a " Channel Switch" suffix Hans de Goede
2021-05-04  8:53 ` Jaroslav Kysela [this message]
2021-05-04 15:47   ` [PATCH alsa-lib 0/5] Add generic exception mechanism for non-standard control-names Hans de Goede
2021-05-18 16:16     ` Jaroslav Kysela
2021-06-23 18:59       ` Hans de Goede
2021-06-23 19:27         ` Jaroslav Kysela
2021-06-25 13:05           ` Hans de Goede
2021-05-04 15:51   ` Hans de Goede

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0f7f1063-4a14-5d99-71b2-e700c74828c2@perex.cz \
    --to=perex@perex.cz \
    --cc=alsa-devel@alsa-project.org \
    --cc=hdegoede@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.