diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2017-10-02 01:49:18 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-10-04 12:50:41 +0200 |
commit | 3e3c9ee1e4b3d0ef1f68f2037752196e7260bad9 (patch) | |
tree | 04b8861f71baec70dc3124df315d3fceff21515a /sound/soc/sh/rcar/dvc.c | |
parent | ASoC: rsnd: makes volume ramp rate list generic (diff) | |
download | linux-3e3c9ee1e4b3d0ef1f68f2037752196e7260bad9.tar.xz linux-3e3c9ee1e4b3d0ef1f68f2037752196e7260bad9.zip |
ASoC: rsnd: add MIX Volume Ramp support
Both DVC/MIX have Volume Ramp Control. This patch supprts MIX
Volume Ramp. One note is that main purpose of MIX Volume Ramp
is to reduce noise, thus, MIX Ramp range is very few if you
compare to DVC Volume Ramp (DVC = 5bit, MIX = 4bit).
You can use MIX Volume Ranp like below
amixer set "MIX Ramp Up Rate" "0.125 dB/1 step"
amixer set "MIX Ramp Down Rate" "0.125 dB/1 step"
amixer set "MIX Ramp" on
aplay xxx.wav &
amixer set "MIX",0 80% // DAI0 Volume Down
amixer set "MIX",1 100% // DAI1 Volume Up
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tested-by: Hiroyuki Yokoyama <hiroyuki.yokoyama.vx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sh/rcar/dvc.c')
0 files changed, 0 insertions, 0 deletions