[alsa-devel] [PATCH 8/8] ASoC: rsnd: Add Volume Ramp support

Mark Brown broonie at kernel.org
Fri Oct 31 12:51:11 CET 2014


On Wed, Oct 29, 2014 at 05:28:19PM -0700, Kuninori Morimoto wrote:

> > >    000:  1 time
> > >    ...
> > >    031:  0.5 time
> > >    ...
> > >    3FE:  4.1 x 10^-7 time
> > >    3FF:  Mute

> > > Maybe I can used inverted value for it ?

> > That sounds like it'd address part of it, though I'm still not 100% sure
> > what the effect of this control is - is it the final value or something
> > (0.5*programmed volume for example)?

> In easy explain,
> we can set "Volume Ramp Period" (= it will be "time" instead),
> and "Volume scale". see below...

> /*
>  * target volume for "start" is Mute.
>  * volume X x 0 time = volume 0
>  */
> amixer set "DVC Out Ramp" 0%		// Mute as default

I'm sorry, this explanation still isn't at all clear to me.  Can you
explain it in words please?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20141031/63e7f78a/attachment.sig>


More information about the Alsa-devel mailing list