From e4cdd716b3682f12f6b9db1cc7368b68ce0e22f0 Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Sun, 7 Mar 2021 21:03:07 +0100 Subject: [PATCH] codecs/es8316: Fix 'HP Mixer Volume' setting 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 Signed-off-by: Jaroslav Kysela --- ucm2/codecs/es8316/EnableSeq.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ucm2/codecs/es8316/EnableSeq.conf b/ucm2/codecs/es8316/EnableSeq.conf index 272ef1a..b6c81d8 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" -- 2.47.1