86 lines
1.4 KiB
Plaintext
86 lines
1.4 KiB
Plaintext
If.spk {
|
|
Condition {
|
|
Type String
|
|
Haystack "${CardComponents}"
|
|
Needle "cfg-spk:2"
|
|
}
|
|
True {
|
|
Include.spk.File "/codecs/rt5651/Speaker.conf"
|
|
}
|
|
}
|
|
|
|
If.mono {
|
|
Condition {
|
|
Type String
|
|
Haystack "${CardComponents}"
|
|
Needle "cfg-spk:1"
|
|
}
|
|
True {
|
|
Include.mspk.File "/codecs/rt5651/MonoSpeaker.conf"
|
|
}
|
|
}
|
|
|
|
If.headphones {
|
|
Condition {
|
|
Type String
|
|
Haystack "${CardComponents}"
|
|
Needle "cfg-hp:lrswap"
|
|
}
|
|
True {
|
|
Include.hp.File "/codecs/rt5651/HeadPhones-swapped.conf"
|
|
}
|
|
False {
|
|
Include.hp.File "/codecs/rt5651/HeadPhones.conf"
|
|
}
|
|
}
|
|
|
|
If.dmic {
|
|
Condition {
|
|
Type String
|
|
Haystack "${CardComponents}"
|
|
Needle "cfg-mic:dmic"
|
|
}
|
|
True {
|
|
Include.dmic.File "/codecs/rt5651/DigitalMic.conf"
|
|
Include.hsmic.File "/codecs/rt5651/IN2-HeadsetMic.conf"
|
|
SectionDevice."Mic".ConflictingDevice.0 "Headset"
|
|
}
|
|
False {
|
|
Include.hsmic.File "/codecs/rt5651/IN3-HeadsetMic.conf"
|
|
}
|
|
}
|
|
|
|
If.in2 {
|
|
Condition {
|
|
Type String
|
|
Haystack "${CardComponents}"
|
|
Needle "cfg-mic:in2"
|
|
}
|
|
True {
|
|
Include.mic.File "/codecs/rt5651/IN2-InternalMic.conf"
|
|
}
|
|
}
|
|
|
|
If.in12 {
|
|
Condition {
|
|
Type String
|
|
Haystack "${CardComponents}"
|
|
Needle "cfg-mic:in12"
|
|
}
|
|
True {
|
|
Include.mic.File "/codecs/rt5651/IN12-InternalMic.conf"
|
|
}
|
|
False {
|
|
If.in1 {
|
|
Condition {
|
|
Type String
|
|
Haystack "${CardComponents}"
|
|
Needle "cfg-mic:in1"
|
|
}
|
|
True {
|
|
Include.mic.File "/codecs/rt5651/IN1-InternalMic.conf"
|
|
}
|
|
}
|
|
}
|
|
}
|