If.hp {
Condition { Type String Empty "" }
- True.Include.hs.File "/codecs/rt5640/HeadPhones.conf"
+ True {
+ Include.hs.File "/codecs/rt5640/HeadPhones.conf"
- SectionDevice."Headphones" {
- EnableSequence [
- cset "name='Headphone Switch' on"
- ]
+ SectionDevice."Headphones" {
+ EnableSequence [
+ cset "name='Headphone Switch' on"
+ ]
- DisableSequence [
- cset "name='Headphone Switch' off"
- ]
+ DisableSequence [
+ cset "name='Headphone Switch' off"
+ ]
+ }
}
}
If.hsmic {
Condition { Type String Empty "" }
- True.Include.hsmic.File "/codecs/rt5640/HeadsetMic.conf"
+ True {
+ Include.hsmic.File "/codecs/rt5640/HeadsetMic.conf"
- SectionDevice."Headset" {
- EnableSequence [
- cset "name='Headset Mic Switch' on"
- ]
+ SectionDevice."Headset" {
+ EnableSequence [
+ cset "name='Headset Mic Switch' on"
+ ]
- DisableSequence [
- cset "name='Headset Mic Switch' off"
- ]
+ DisableSequence [
+ cset "name='Headset Mic Switch' off"
+ ]
+ }
}
}