aboutsummaryrefslogtreecommitdiff
path: root/ucm2/bytcr-rt5651/HiFi.conf
diff options
context:
space:
mode:
Diffstat (limited to 'ucm2/bytcr-rt5651/HiFi.conf')
-rw-r--r--ucm2/bytcr-rt5651/HiFi.conf32
1 files changed, 32 insertions, 0 deletions
diff --git a/ucm2/bytcr-rt5651/HiFi.conf b/ucm2/bytcr-rt5651/HiFi.conf
new file mode 100644
index 0000000..1f031f2
--- /dev/null
+++ b/ucm2/bytcr-rt5651/HiFi.conf
@@ -0,0 +1,32 @@
+# Adapted from https://github.com/plbossart/UCM/tree/master/bytcr-rt5651
+
+
+SectionVerb {
+ EnableSequence [
+ <platforms/bytcr/PlatformEnableSeq.conf>
+ <codecs/rt5651/EnableSeq.conf>
+ ]
+
+ DisableSequence [
+ <platforms/bytcr/PlatformDisableSeq.conf>
+ ]
+
+ Value {
+ PlaybackPCM "hw:${CardId}"
+ CapturePCM "hw:${CardId}"
+ }
+}
+
+If.0 {
+ Condition {
+ Type String
+ Haystack "${CardComponents}"
+ Needle "cfg-spk:"
+ }
+ True {
+ <bytcr-rt5651/HiFi-Components.conf>
+ }
+ False {
+ <bytcr-rt5651/HiFi-LongName.conf>
+ }
+}