Suggested-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Haystack "${CardName}"
Needle "bytcht rt5651"
}
- True.Include.main.File "/bytcr-rt5651/HiFi.conf"
+ True {
+ Include.init.File "/codecs/rt5651/init.conf"
+ Include.main.File "/bytcr-rt5651/HiFi.conf"
+ }
}
If.bytcht_cx2072x {
# Adapted from https://github.com/plbossart/UCM/tree/master/bytcr-rt5651
-Syntax 3
+Syntax 4
SectionUseCase."HiFi" {
File "HiFi.conf"
Comment "Play HiFi quality Music"
}
+
+Include.card-init.File "/lib/card-init.conf"
+Include.ctl-remap.File "/lib/ctl-remap.conf"
+Include.codec-init.File "/codecs/rt5651/init.conf"
--- /dev/null
+LibraryConfig.remap.Config {
+
+ ctl.default.remap {
+ "name='ADC Boost Gain'" "name='ADC Boost Capture Volume'"
+ "name='IN1 Boost'" "name='IN1 Boost Capture Volume'"
+ "name='IN2 Boost'" "name='IN2 Boost Capture Volume'"
+ "name='IN3 Boost'" "name='IN3 Boost Capture Volume'"
+ "name='HP Playback Volume'" "name='Headphone Playback Volume'"
+ }
+
+}