summaryrefslogtreecommitdiff
path: root/driver
diff options
context:
space:
mode:
authorTzung-Bi Shih <tzungbi@chromium.org>2019-06-29 07:25:46 +0800
committerCommit Bot <commit-bot@chromium.org>2019-09-19 07:59:11 +0000
commit8fe3e6a850f06b499cc60834a925736ce95171d9 (patch)
treefdecb38045e7e18336e678d2614f7b649bcda733 /driver
parente0d9bb6fdef6fe87dac52ea7f26281f8d3239a7a (diff)
downloadchrome-ec-8fe3e6a850f06b499cc60834a925736ce95171d9.tar.gz
chip/mt_scp: support software gain
Multiply the audio data by a gain value. Note that it get muted when gain is 0. BRANCH=none BUG=b:122027734, b:123268236 TEST=1. define CONFIG_AUDIO_CODEC in board.h 2. define CONFIG_AUDIO_CODEC_DMIC in board.h 3. define CONFIG_AUDIO_CODEC_DMIC_SOFTWARE_GAIN in board.h 4. define CONFIG_AUDIO_CODEC_DMIC_MAX_SOFTWARE_GAIN in board.h 5. define CONFIG_AUDIO_CODEC_WOV in board.h 6. make BOARD=kukui_scp -j Change-Id: I8c308ffb6d7c8f5bd378524bdffc980d7b9948fa Signed-off-by: Tzung-Bi Shih <tzungbi@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1683028 Reviewed-by: Nicolas Boichat <drinkcat@chromium.org>
Diffstat (limited to 'driver')
0 files changed, 0 insertions, 0 deletions