[alsa-devel] [PATCH 10/11] ucm: docs: Add SoftwareGain
Curtis Malainey
cujomalainey at google.com
Mon Nov 11 19:46:34 CET 2019
On Mon, Nov 11, 2019 at 7:33 AM Jaroslav Kysela <perex at perex.cz> wrote:
>
> Dne 07. 11. 19 v 2:58 Curtis Malainey napsal(a):
> > Add software gain ucm definition.
> >
> > Signed-off-by: Curtis Malainey <cujomalainey at chromium.org>
> > ---
> > include/use-case.h | 3 +++
> > 1 file changed, 3 insertions(+)
> >
> > diff --git a/include/use-case.h b/include/use-case.h
> > index e84f3f8f..ee6ee5e0 100644
> > --- a/include/use-case.h
> > +++ b/include/use-case.h
> > @@ -344,6 +344,9 @@ int snd_use_case_get_list(snd_use_case_mgr_t *uc_mgr,
> > * - This is used on platform where reported buffer level is not accurate.
> > * E.g. "512", which holds 512 samples in device buffer. Note: this will
> > * increase latency.
> > + * - SoftwareGain
> > + * - Specify the software gain in 0.01dB. E.g. "20" means there will be
> > + * 0.2 dB software gain on this node.
> > * - DisableSoftwareVolume
> > * - Set to "1" to force userspace to use hardware volume controls
> > */
> >
>
> In other words, it's the recommended software gain control? The description
> should be improved then.
>
> Jaroslav
>
Not the control/mixer, in this case it is a gain value that is
expected to be applied by the audio server (should the server parse
it)
> --
> Jaroslav Kysela <perex at perex.cz>
> Linux Sound Maintainer; ALSA Project; Red Hat, Inc.
More information about the Alsa-devel
mailing list