diff options
author | Lu, Han <han.lu@intel.com> | 2015-03-12 01:53:02 -0400 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-03-12 15:18:14 -0400 |
commit | 3814c204446822cd3c82ec4e8616600732c1f94e (patch) | |
tree | 40787c2f195684df7b6592296aab9406daf5bf75 /sound/soc/codecs/rt5670.c | |
parent | 201892268b8335ae8c9dc7cc9a0d4bf6e1336f0e (diff) |
ASoC: Intel: add kcontrol to set parameter to sound effect module waves
Each kcontrol command includes a line of parameters up to 128 bytes.
kcontrol command to set param:
cset "name='Waves Set Param' <0x01,0xff,...>"
or
cset-bin-file "name='Waves Set Param' <path/to/binary/config/file>"
The parameter lines are stored in a buffer array, so can be read back from
buffer rather than from DSP, and be relaunched to DSP when resume from RTD3.
The buffer size is 160 parameter lines.
kcontrol command to reset the buffer:
cset "name='Waves Set Param' 0xff"
alsa-lib v1.0.29 or commit 6ea14c36 and f47480af are required to support the
kcontrol commands.
Signed-off-by: Lu, Han <han.lu@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/rt5670.c')
0 files changed, 0 insertions, 0 deletions