OSDN Git Service

codecs/es8316: Fix 'HP Mixer Volume' setting
authorHans de Goede <hdegoede@redhat.com>
Sun, 7 Mar 2021 20:03:07 +0000 (21:03 +0100)
committerJaroslav Kysela <perex@perex.cz>
Wed, 10 Mar 2021 09:55:32 +0000 (10:55 +0100)
commite4cdd716b3682f12f6b9db1cc7368b68ce0e22f0
tree3b067b7c09d65e82c9e76c91587472ad3516de64
parentfe1239b9943cbae20b4c8a2beed4e3af1873d2b9
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 <hdegoede@redhat.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
ucm2/codecs/es8316/EnableSeq.conf