diff options
author | Jaroslav Kysela <perex@perex.cz> | 2019-11-20 18:59:00 +0100 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2019-11-21 14:57:59 +0100 |
commit | faf69ec816a412da2e62d1bda00bb14ffb321495 (patch) | |
tree | dab208e10612139d5100aec06857df945734f392 /ucm2/bytcr-rt5651/HiFi.conf | |
parent | 62ae6affd9f8cd415dbeca2d5ca70fce8ad197fd (diff) |
bytcr-rt5651: adapt to ucm2
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Diffstat (limited to 'ucm2/bytcr-rt5651/HiFi.conf')
-rw-r--r-- | ucm2/bytcr-rt5651/HiFi.conf | 32 |
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> + } +} |