diff mbox series

[alsa-ucm-conf,2/3] codecs/es8316: Fix 'HP Mixer Volume' setting

Message ID 20210307200308.136385-2-hdegoede@redhat.com (mailing list archive)
State New, archived
Headers show
Series [alsa-ucm-conf,1/3] codecs/es8316: Fix capture settings | expand

Commit Message

Hans de Goede March 7, 2021, 8:03 p.m. UTC
The 'HP Mixer Volume' control is interesting in that it has a hole
in its range which should not be used (described in the tlv table),
valid values are 0-4 and 8-11

I assume that the "Set HP mixer vol to -6 dB (4/7) louder does not work"
comment which this patch changes comes from attempts to use values in
that hole in the range (also notice the wrong max value in the comment).

Setting the HP mixer to -6 dB causes the sound to be significantly
softer then under Windows. This commit fixes this by initializing the
HP mixer control to 11 / 0 dB.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
 ucm2/codecs/es8316/EnableSeq.conf | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/ucm2/codecs/es8316/EnableSeq.conf b/ucm2/codecs/es8316/EnableSeq.conf
index 272ef1a..147ce53 100644
--- a/ucm2/codecs/es8316/EnableSeq.conf
+++ b/ucm2/codecs/es8316/EnableSeq.conf
@@ -7,8 +7,8 @@  EnableSequence [
 
 	# Set HP vol to 0 dB (3/3)
 	cset "name='Headphone Playback Volume' 3"
-	# Set HP mixer vol to -6 dB (4/7) louder does not work
-	cset "name='Headphone Mixer Volume' 4"
+	# Set HP mixer vol to 0 dB 
+	cset "name='Headphone Mixer Volume' 11"
 	# Set DAC vol to 0 dB (192/192)
 	cset "name='DAC Playback Volume' 192"