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

Mark Brown broonie at kernel.org
Tue Oct 28 23:38:14 CET 2014


On Tue, Oct 21, 2014 at 06:14:55PM -0700, Kuninori Morimoto wrote:

> This sample indicates Mute -> Volume 100% -> Mute

> amixer set "DVC Out Ramp" 100%		// Mute as default
> amixer set "DVC Out Ramp Period" 80%

Normally this would be expressed as an enum with some sort of time
units.  We did discuss at the mini-summit making a standard way of
expressing this but nobody did that yet.

> amixer set "DVC Out Ramp Enable" on

That "Enable" should be a Switch control.

> aplay xxx.wav &
> amixer set "DVC Out Ramp" 0%		// to Volume 100%
> amixer set "DVC Out Ramp" 100%		// to Mute

I'm not sure I quite understand this control - what exactly is this
setting?  It appears that the ramp value is the opposite of the volume
we end up with which is a bit odd and the comments suggest that this is
actually triggering a ramp when normally ramps would be done as part of
a volume set, mute or power up/down operation.
-------------- 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/20141028/129cb53f/attachment.sig>


More information about the Alsa-devel mailing list