OpenVoiceOS/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/bytcr-wm5102/HiFi.conf

55 lines
1.1 KiB
Plaintext

SectionVerb {
Value {
TQ "HiFi"
}
Include.e.File "/codecs/wm5102/EnableSeq.conf"
If.Controls {
Condition {
Type ControlExists
Control "name='media0_in Gain 0 Switch'"
}
True {
Include.pe {
File "/platforms/bytcr/PlatformEnableSeq.conf"
Before.EnableSequence "0"
}
Include.pd.File "/platforms/bytcr/PlatformDisableSeq.conf"
}
}
}
If.spk {
Condition {
Type String
Haystack "${CardComponents}"
Needle "cfg-spk:hpout2"
}
True.Include.hpout2.File "/codecs/wm5102/HPOut2-Speaker.conf"
False.Include.spk.File "/codecs/wm5102/Speaker.conf"
}
Include.hp.File "/codecs/wm5102/HeadPhones.conf"
If.intmic {
Condition {
Type String
Haystack "${CardComponents}"
Needle "cfg-intmic:in1l"
}
True.Include.intmic1.File "/codecs/wm5102/IN1-InternalMic.conf"
False.Include.intmic3.File "/codecs/wm5102/IN3-InternalMic.conf"
}
If.hsmic {
Condition {
Type String
Haystack "${CardComponents}"
Needle "cfg-hsmic:in2l"
}
True.Include.hsmic2.File "/codecs/wm5102/IN2-HeadsetMic.conf"
False.Include.hsmic1.File "/codecs/wm5102/IN1-HeadsetMic.conf"
}