alsa-ucm-conf/ucm2/bytcht-cx2072x/HiFi.conf
Jaroslav Kysela 0a8dd118f7 ucm2: use Include (Syntax 3)
Instead the unconditional include, use the Include configuration
directive which can load some files when evaluated (on demand only).

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2020-06-16 13:44:03 +02:00

23 lines
589 B
Text

SectionVerb {
Include.e.File "/codecs/cx2072x/EnableSeq.conf"
Include.d.File "/codecs/cx2072x/DisableSeq.conf"
If.Controls {
Condition {
Type ControlExists
Control "name='media0_in Gain 0 Switch'"
}
Before.EnableSequence "0"
True {
Include.pe.File "/platforms/bytcr/PlatformEnableSeq.conf"
Include.pd.File "/platforms/bytcr/PlatformDisableSeq.conf"
}
}
}
Include.spk.File "/codecs/cx2072x/Speaker.conf"
Include.hp.File "/codecs/cx2072x/HeadPhones.conf"
Include.imic.File "/codecs/cx2072x/InternalMic.conf"
Include.hsmic.File "/codecs/cx2072x/HeadsetMic.conf"