OSDN Git Service

codecs/es8316: Fix capture settings
authorHans de Goede <hdegoede@redhat.com>
Sun, 7 Mar 2021 20:03:06 +0000 (21:03 +0100)
committerJaroslav Kysela <perex@perex.cz>
Wed, 10 Mar 2021 09:54:35 +0000 (10:54 +0100)
commitfe1239b9943cbae20b4c8a2beed4e3af1873d2b9
tree5c2cc14e63d033cbc92fa235998f597da1679b64
parent90ee4e03095ec6917a9711782282ba6c4205364c
codecs/es8316: Fix capture settings

Fix the following issues with the capture settings:

1. Disable ALC / Auto Level Control, it tries to always get an
   input signal even when the user is not talking into the mic
   leading to it cranking up the volume till there is noise at
   the same level as the user talking.

2. The 'ADC PGA Gain Volume' volume control is not the main
   'ADC vol' control, it is the mic amplifier control and
   setting it to 10 sets it to 24dB not 0dB.
   Adjust the comment and set it to 7 which is 16dB which
   gives a good microphone signal strength without introducing
   too much noise (with 'ADC Capture Volume' set to 0dB).

3. There actually is a main 'ADC vol' control which goes from -96 to 0dB
   which is simply called the 'ADC Capture Volume' and when disabling ALC
   it defaults to -96 dB. Add a line setting it to 0dB.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
ucm2/codecs/es8316/EnableSeq.conf