2 Define.HaveInternalMic ""
7 Haystack "${CardLongName}"
11 Include.spk.File "/codecs/rt5640/Speaker.conf"
12 Define.HaveSpeaker "yes"
14 SectionDevice."Speaker" {
16 cset "name='Speaker Switch' on"
20 cset "name='Speaker Switch' off"
29 Haystack "${CardLongName}"
33 Include.mspk.File "/codecs/rt5640/MonoSpeaker.conf"
34 Define.HaveSpeaker "yes"
36 SectionDevice."Speaker" {
38 cset "name='Speaker Switch' on"
42 cset "name='Speaker Switch' off"
49 Condition { Type String Empty "" }
50 True.Include.hs.File "/codecs/rt5640/HeadPhones.conf"
52 SectionDevice."Headphones" {
54 cset "name='Headphone Switch' on"
58 cset "name='Headphone Switch' off"
66 Haystack "${CardLongName}"
70 Include.dmic.File "/codecs/rt5640/DigitalMics.conf"
71 Define.HaveInternalMic "yes"
75 cset "name='Internal Mic Switch' on"
79 cset "name='Internal Mic Switch' off"
88 Haystack "${CardLongName}"
92 Include.mic1.File "/codecs/rt5640/IN1-InternalMic.conf"
93 Define.HaveInternalMic "yes"
97 cset "name='Internal Mic Switch' on"
101 cset "name='Internal Mic Switch' off"
110 Haystack "${CardLongName}"
114 Include.mic3.File "/codecs/rt5640/IN3-InternalMic.conf"
115 Define.HaveInternalMic "yes"
117 SectionDevice."Mic" {
119 cset "name='Internal Mic Switch' on"
123 cset "name='Internal Mic Switch' off"
130 Condition { Type String Empty "" }
131 True.Include.hsmic.File "/codecs/rt5640/HeadsetMic.conf"
133 SectionDevice."Headset" {
135 cset "name='Headset Mic Switch' on"
139 cset "name='Headset Mic Switch' off"